Table of contents

Public interface

Signature
interface TLUiMenuGroupProps<TranslationKey extends string = string> {}
Source

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


Properties

children

Public propertysignature

Signature
children?: ReactNode

id

Public propertysignature

Signature
id: string

label

Public propertysignature

The label to display on the item. If it's a string, it will be translated. If it's an object, the keys will be used as the language keys and the values will be translated.

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

TLUiMenuContextProviderPropsTLUiMenuItemProps