TLUiActionItem
Table of contents
Public interface
Signature
interface TLUiActionItem {}
Source
packages/tldraw/src/lib/ui/hooks/useActions.tsx
Properties
checkbox
Public propertysignature
Signature
checkbox?: boolean
contextMenuLabel
Public propertysignature
Signature
contextMenuLabel?: TLUiTranslationKey
References
icon
Public propertysignature
Signature
icon?: TLUiIconType
References
id
Public propertysignature
Signature
id: string
kbd
Public propertysignature
Signature
kbd?: string
label
Public propertysignature
Signature
label?: TLUiTranslationKey
References
menuLabel
Public propertysignature
Signature
menuLabel?: TLUiTranslationKey
References
onSelect
Public propertysignature
Signature
onSelect: (source: TLUiEventSource) => Promise<void> | void
References
readonlyOk
Public propertysignature
Signature
readonlyOk: boolean
shortcutsLabel
Public propertysignature
Signature
shortcutsLabel?: TLUiTranslationKey
References
title
Public propertysignature
Signature
title?: string