Skip to main content

Function: ContextMenuLabel()

@arolariu/components


@arolariu/components / ContextMenuLabel

Function: ContextMenuLabel()

ContextMenuLabel(props): ReactElement

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

Renders the context menu label.

Parameters

props

Readonly<Props>

Returns

ReactElement

Remarks

  • Renders a <div> element by default
  • Built on Base UI Context Menu
  • Supports the render prop for element composition

Example

<ContextMenuLabel>Content</ContextMenuLabel>

See

Base UI Documentation

// was this page useful?