Tooltip
- The Tooltip component.
Base usage of a Tooltip.
You can control the open and close delay of the tooltip by using the openDelay
and closeDelay
props.
Hover me (1s open)
Hover me (1s close)
You can control the close behavior of the tooltip by using the closeOnClick
, closeOnPointerDown
, closeOnEsc
, and closeOnScroll
props.
By default, the tooltip will close on click, pointer down, esc key, but not on scroll.
Close on click false
Close on pointer down false
Close on esc key false
Close on scroll
You can control the arrow of the tooltip by using the hasArrow
and arrowSize
props.