Name | Type | Default | Description |
---|---|---|---|
title required | ReactNode | The text displayed inside the tooltip | |
animation | any | ||
children | ReactNode | ||
className | string | Additionnal CSS class the tooltip should have | |
container | string | ||
defaultOverlayShown | boolean | ||
delay | number | ||
delayHide | number | ||
delayShow | number | ||
footer | string | Add a footer to the tooltip | |
noSpanWrapper | boolean | By default, <Tooltip /> wraps children inside a span element to make sure the tooltip is applied on one html element only.
Use noSpanWrapper to avoid wrapping your children inside a span.
CAUTION: Make sure you have only 1 child if you use this prop. | |
onClick | (...args: any[]) => void | ||
onEnter | (...args: any[]) => void | ||
onEntered | (...args: any[]) => void | ||
onEntering | (...args: any[]) => void | ||
onExit | (...args: any[]) => void | ||
onExited | (...args: any[]) => void | ||
onExiting | (...args: any[]) => void | ||
placement | string | The position of the tooltip should have - Use the TooltipPlacement enum from TooltipUtils | |
rootClose | boolean | ||
trigger | string | string[] | ||
arrowOffsetLeft deprecated | ReactText | Do not use | |
arrowOffsetTop deprecated | ReactText | Do not use | |
bsStyle deprecated | string | Do not use | |
positionLeft deprecated | number | Do not use | |
positionTop deprecated | number | Do not use |