UseTooltip
Last updated: 2.0.0 (22/01/2024)
useTooltip
is a niche hook used internally to control the Tooltip component. It acts as a hook to control various Floating UI props for use when creating tooltip-like components.
Return type
Attribute
Type
Description
placement
Placement
The placement of the tooltip relative to the target.
offset
number
The offset between the tooltip and the target.
Last updated
Was this helpful?