TooltipProps
Props for Tooltip
Properties
align?
optionalalign:"end"|"start"|"center"
The preferred alignment against the anchor.
arrow?
optionalarrow:boolean
Whether to show an arrow
children
children:
ReactNode
The element that triggers the tooltip
className?
optionalclassName:string
Class name for the tooltip content
content
content:
ReactNode
The content to display inside the tooltip
delayDuration?
optionaldelayDuration:number
How long to wait before opening a tooltip. Specified in milliseconds. Default: 350
disabled?
optionaldisabled:boolean
Whether the tooltip is disabled
key?
optionalkey:string
A unique identifier for the tooltip
side?
optionalside:"left"|"right"|"top"|"bottom"
The preferred side of the anchor to render the tooltip.
sideOffset?
optionalsideOffset:number
The distance in pixels from the anchor. Default: 4
skipDelayDuration?
optionalskipDelayDuration:number
Another tooltip will open instantly if the previous tooltip is closed within this timeout. Specified in milliseconds. Default: 0