Search
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#

PropertyTypeDescription
id"ly.img.assetLibrary.dock"-
key?stringIndividual and optional key for the component.
label?stringLabel to display on the button.
icon?stringIcon to display on the button.
entriesstring[]Determines with what entries the asset library is opened.
onClick?() => voidCustom onClick handler. If provided, overrides the default asset library toggle behavior.
selected?booleanControls the selected state of the button. If provided, overrides the automatic detection.
disabled?booleanControls the disabled state of the button. If provided, overrides the automatic detection.
size?"normal""large"
variant?"regular""plain"
color?"accent""danger"