TLUiActionItem

See source code
Table of contents
interface TLUiActionItem<
  TransationKey extends string = string,
  IconType extends string = string,
> {}

Properties

checkbox

optional
checkbox?: boolean

icon

optional
icon?: IconType | React.ReactElement

id

id: string

isRequiredA11yAction

optional
isRequiredA11yAction?: boolean

kbd

optional
kbd?: string

label

optional
label?:
  | {
      [key: string]: TransationKey
    }
  | TransationKey

readonlyOk

optional
readonlyOk?: boolean

Methods

onSelect

Parameters

NameDescription

source

Returns

Promise<void> | void

Prev
TLUiA11yContextType
Next
TLUiActionsMenuProps