TLUiMenuCheckboxItemProps
Public typealias
Signature
type TLUiMenuCheckboxItemProps<
TranslationKey extends string = string,
IconType extends string = string,
> = {
icon?: IconType
id: string
kbd?: string
title?: string
label?:
| {
[key: string]: TranslationKey
}
| TranslationKey
readonlyOk?: boolean
onSelect: (source: TLUiEventSource) => Promise<void> | void
checked?: boolean
disabled?: boolean
}
References
Source
packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuCheckboxItem.tsx