Components
tooltip
Code

Tooltip

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

Tooltip component

Parameters

NameType
propsTooltipProps & RefAttributes<HTMLDivElement>

Returns

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

Example

<Tooltip text="Text">
  <button>i</button>
</Tooltip>

Defined in

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