afterVisibleChange |
(visible: boolean) => void |
- |
Called after popup visibility changes. |
align |
AlignType |
{} |
Extra popup alignment config. |
arrowContent |
React.ReactNode |
- |
Custom arrow content. |
builtinPlacements |
TriggerProps['builtinPlacements'] |
built-in placements |
Placement map passed to trigger. |
children |
React.ReactElement |
- |
Required trigger element. |
classNames |
Partial<Record<SemanticName, string>> |
- |
Semantic class names for root, arrow, and container nodes. |
defaultVisible |
boolean |
- |
Initial uncontrolled visible state. |
destroyOnHidden |
boolean |
false |
Destroy popup DOM when hidden. |
disabled |
boolean |
false |
Temporarily hide tooltip while preserving visible state. |
fresh |
boolean |
- |
Keep popup content fresh when closed. |
getTooltipContainer |
(node: HTMLElement) => HTMLElement |
- |
Resolve popup container. |
id |
string |
generated id |
Tooltip id used for accessibility. |
motion |
TriggerProps['popupMotion'] |
- |
Popup motion config. |
mouseEnterDelay |
number |
0 |
Delay in seconds before showing on mouse enter. |
mouseLeaveDelay |
number |
0.1 |
Delay in seconds before hiding on mouse leave. |
onPopupAlign |
TriggerProps['onPopupAlign'] |
- |
Called after popup alignment. |
onVisibleChange |
(visible: boolean) => void |
- |
Called when visibility changes. |
overlay |
React.ReactNode | () => React.ReactNode |
- |
Tooltip content. |
placement |
string |
'right' |
Popup placement. |
prefixCls |
string |
'rc-tooltip' |
Prefix class name. |
showArrow |
boolean | ArrowType |
true |
Whether to show arrow or provide arrow config. |
styles |
Partial<Record<SemanticName, React.CSSProperties>> |
- |
Semantic styles for root, arrow, and container nodes. |
trigger |
ActionType | ActionType[] |
['hover'] |
Actions that show the tooltip. |
unique |
TriggerProps['unique'] |
- |
Experimental unique container reuse config. |
visible |
boolean |
- |
Controlled visible state. |
zIndex |
number |
- |
Popup z-index. |