PopoverTrigger
▸ PopoverTrigger(props
): null
| ReactElement
<any
, string
| JSXElementConstructor
<any
>>
Triggers popover containers
Parameters
Name | Type |
---|---|
props | PopoverTriggerProps & RefAttributes <HTMLButtonElement > |
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