Skip to main content

Variable: ContextMenuPortal

@arolariu/components


@arolariu/components / ContextMenuPortal

Variable: ContextMenuPortal

const ContextMenuPortal: ForwardRefExoticComponent<Omit<MenuPortalProps, "ref"> & RefAttributes<HTMLDivElement>> = BaseContextMenu.Portal

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

Provides the context menu portal container.

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

<ContextMenuPortal>Content</ContextMenuPortal>

See

Base UI Documentation

// was this page useful?