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