Components
popover
Code

Popover

Popover(props): null | ReactElement<any, string | JSXElementConstructor<any>>

Popover containers allow merchants to access and interact with more information of an item through an overlay.

Parameters

NameType
propsPopoverProps & RefAttributes<HTMLDivElement>

Returns

null | ReactElement<any, string | JSXElementConstructor<any>>

Example

<PopoverProvider>
  <PopoverTrigger>Trigger</PopoverTrigger>
  <Popover>Content</Popover>
</PopoverProvider>

Defined in

node_modules/.pnpm/@types+react@18.2.14/node_modules/@types/react/ts5.0/index.d.ts:355