Public function

Signature
function TldrawUiMenuSubmenu<Translation extends string = string>({
  id,
  disabled,
  label,
  size,
  children,
}: TLUiMenuSubmenuProps<Translation>):
  | boolean
  | import('react/jsx-runtime').JSX.Element
  | Iterable<ReactNode>
  | null
  | number
  | string
  | undefined
Parameters
NameDescription

{ id, disabled, label, size, children, }

TLUiMenuSubmenuProps<Translation>
Returns
  | boolean
  | import('react/jsx-runtime').JSX.Element
  | Iterable<ReactNode>
  | null
  | number
  | string
  | undefined
References

TLUiMenuSubmenuProps

Source

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

TldrawUiMenuItemTldrawUiPopover