TLUiToolItem
See source codeTable of contents
interface TLUiToolItem<
TranslationKey extends string = string,
IconType extends string = string,
> {}
Properties
icon
icon: IconType
id
id: string
kbd
optional
kbd?: string
label
label: TranslationKey
meta
optional
meta?: {
[key: string]: any
}
readonlyOk
optional
readonlyOk?: boolean
shortcutsLabel
optional
shortcutsLabel?: TranslationKey
Methods
onSelect
Parameters
Name | Description |
---|---|
|
Returns
void
Prev
TLUiToastsContextTypeNext
TLUiToolsProviderProps