TLUiToolItem

See source code
Table 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

NameDescription

source

Returns

void

Prev
TLUiToastsContextType
Next
TLUiToolsProviderProps