Props
interface TooltipProps
children | ReactElement<TooltipAnchorProps> Child components to render. |
className | undefined | string Additional class names to attach to the tooltip, separated by spaces. |
content | string | A string representing the contents. Alternatively, you can include a function that returns a React node to place into the tooltip, which is useful for things like italicization in the tooltip. |
disabled | undefined | false | true If set to |
fitInWindowMode | FitInWindowMode Dictates the behavior when the "normal" placement of the tooltip would be outside of the viewport. Defaults to FitInWindowModes.FLIP. |
placementOffsetX | undefined | number The horizontal offset, in pixels, of the tooltip. If |
placementOffsetY | undefined | number The vertical offset, in pixels, of the tooltip. If |
placementX | PopoverPlacementX The horizontal placement of the tooltip. Defaults to PopoverPlacements.RIGHT. |
placementY | PopoverPlacementY The vertical placement of the tooltip. Defaults to PopoverPlacements.CENTER. |
shouldHideTooltipOnClick | undefined | false | true Should the tooltip be hidden when clicked? Defaults to |
style | React.CSSProperties Additional styles names to attach to the tooltip. |