TooltipAnchor
▸ TooltipAnchor(props
): null
| ReactElement
<any
, string
| JSXElementConstructor
<any
>>
The anchor of the Tooltip
Parameters
Name | Type |
---|---|
props | TooltipAnchorProps & RefAttributes <HTMLDivElement > |
Returns
null
| ReactElement
<any
, string
| JSXElementConstructor
<any
>>
Example
<TooltipProvider>
<TooltipAnchor asChild>
<button>i</button>
</TooltipAnchor>
</TooltipProvider>
Defined in
node_modules/.pnpm/@types+react@18.2.14/node_modules/@types/react/ts5.0/index.d.ts:355