TLUiToolItem
Table of contents
Public interface
Signature
interface TLUiToolItem {}
Source
packages/tldraw/src/lib/ui/hooks/useTools.tsx
Properties
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
meta
Public propertysignature
Signature
meta?: {
[key: string]: any
}
onSelect
Public propertysignature
Signature
onSelect: (source: TLUiEventSource) => void
References
readonlyOk
Public propertysignature
Signature
readonlyOk: boolean
shortcutsLabel
Public propertysignature
Signature
shortcutsLabel?: TLUiTranslationKey
References