Skip to main content

Variable: ContextMenuSub

@arolariu/components


@arolariu/components / components/ui/context-menu / ContextMenuSub

Variable: ContextMenuSub

const ContextMenuSub: typeof BaseContextMenu.SubmenuRoot & object = BaseContextMenu.SubmenuRoot

Defined in: components/ui/context-menu.tsx:206

Coordinates the context menu sub.

Type Declaration​

displayName?​

optional displayName?: string

Remarks​

  • Delegates structure and state to the underlying Base UI primitive
  • Built on Base UI Context Menu
  • Preserves the underlying primitive API for advanced composition

Example​

<ContextMenuSub>Content</ContextMenuSub>

See​

Base UI Documentation

// was this page useful?