Search Docs
Loading...
Skip to content

Type Alias: AssetLibraryDockComponent

type AssetLibraryDockComponent = object;

Represents an asset library dock component.

The AssetLibraryDockComponent interface defines the structure of an asset library dock component. It includes properties for the ID, key, label, icon, entries, and optional button styling/behavior.

Properties#

Property Type Description
id "ly.img.assetLibrary.dock" -
key? string Individual and optional key for the component.
label? string Label to display on the button.
icon? string Icon to display on the button.
entries string[] Determines with what entries the asset library is opened.
onClick? () => void Custom onClick handler. If provided, overrides the default asset library toggle behavior.
isSelected? boolean (() => boolean)
isDisabled? boolean (() => boolean)
size? "normal" "large"
variant? "regular" "plain"
color? "accent" "danger"