Table of contents

Public interface

Signature
interface TLUiMenuCheckboxItemProps<
  TranslationKey extends string = string,
  IconType extends string = string,
> {}
Source

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


Properties

checked

Public propertysignature

Signature
checked?: boolean

disabled

Public propertysignature

Signature
disabled?: boolean

icon

Public propertysignature

Signature
icon?: IconType

id

Public propertysignature

Signature
id: string

kbd

Public propertysignature

Signature
kbd?: string

label

Public propertysignature

Signature
label?:
  | {
      [key: string]: TranslationKey
    }
  | TranslationKey

onSelect

Public propertysignature

Signature
onSelect: (source: TLUiEventSource) => Promise<void> | void
References

TLUiEventSource


readonlyOk

Public propertysignature

Signature
readonlyOk?: boolean

title

Public propertysignature

Signature
title?: string

toggle

Public propertysignature

Signature
toggle?: boolean

TLUiMainMenuPropsTLUiMenuContextProviderProps