Public typealias

Signature
type TLUiMenuCheckboxItemProps<
  TranslationKey extends string = string,
  IconType extends string = string,
> = {
  checked?: boolean
  disabled?: boolean
  icon?: IconType
  id: string
  kbd?: string
  label?:
    | {
        [key: string]: TranslationKey
      }
    | TranslationKey
  onSelect: (source: TLUiEventSource) => Promise<void> | void
  readonlyOk?: boolean
  title?: string
  toggle?: boolean
}
References

TLUiEventSource

Source

packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuCheckboxItem.tsx

TLUiMainMenuPropsTLUiMenuContextProviderProps