TLUiActionItem
Table of contents
Public interface
Signature
interface TLUiActionItem<
TransationKey extends string = string,
IconType extends string = string,
> {}
Source
packages/tldraw/src/lib/ui/context/actions.tsx
Properties
checkbox
Public propertysignature
Signature
checkbox?: boolean
icon
Public propertysignature
Signature
icon?: IconType
id
Public propertysignature
Signature
id: string
kbd
Public propertysignature
Signature
kbd?: string
label
Public propertysignature
Signature
label?:
| {
[key: string]: TransationKey
}
| TransationKey
onSelect
Public propertysignature
Signature
onSelect: (source: TLUiEventSource) => Promise<void> | void
References
readonlyOk
Public propertysignature
Signature
readonlyOk?: boolean