Code
The Tooltip component usage and API reference.
API
This component extends the native <div> API. That's why the className
prop is not included in the table.
Props
Data Type
Required
children
ReactNode
✅
message
ReactNode
isDisabled
disabled
position
top | bottom | right | left
spacing
number
delayDuration
number (milliseconds)
You can either pass a string, or a complete complex HTML structure to the tooltip component.
Example
Live Demo
Last updated