Public function

Signature
function TldrawUiMenuCheckboxItem<
  TranslationKey extends string = string,
  IconType extends string = string,
>({
  id,
  kbd,
  label,
  readonlyOk,
  onSelect,
  toggle,
  disabled,
  checked,
}: TLUiMenuCheckboxItemProps<TranslationKey, IconType>):
  | import('react/jsx-runtime').JSX.Element
  | null
Parameters
NameDescription

{ id, kbd, label, readonlyOk, onSelect, toggle, disabled, checked, }

TLUiMenuCheckboxItemProps<
  TranslationKey,
  IconType
>
Returns
import('react/jsx-runtime').JSX.Element | null
References

TLUiMenuCheckboxItemProps

Source

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

TldrawUiKbdTldrawUiMenuContextProvider