Skip to main content

Variable: PopoverTrigger

@arolariu/components


@arolariu/components / PopoverTrigger

Variable: PopoverTrigger

const PopoverTrigger: ForwardRefExoticComponent<Omit<PopoverTriggerProps, "ref"> & RefAttributes<HTMLButtonElement>>

Defined in: components/ui/popover.tsx:93

Renders the popover trigger.

Remarks

  • Renders a <button> element by default
  • Built on Base UI Popover
  • Supports the render prop for element composition

Example

<PopoverTrigger>Content</PopoverTrigger>

See

Base UI Documentation

// was this page useful?