Optional
closeA delay time for the tooltip to close after a user moved a pointer away from an anchor element.
Optional
delayA delay time for the tooltip to show up after a user hovers pointer over an anchor element.
Optional
isIf true
then a tooltip is visible to a user.
Optional
onA handler that is called when a tooltip must be closed.
Optional
onA handler that is called when a tooltip must be opened: user hover mouse over an anchor, or an anchor was focused via a keyboard.
Optional
onA handler that is called when a tooltip opened state is changed.
true
if a tooltip must be visible to a user.
Props of the useTooltip hook.