You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/options.mdx
+1
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,7 @@ import { Tooltip } from 'react-tooltip';
127
127
|`setIsOpen`|`function`| no ||| The tooltip can be controlled or uncontrolled, this attribute can be used to handle show and hide tooltip outside tooltip |
128
128
|`afterShow`|`function`| no ||| A function to be called after the tooltip is shown |
129
129
|`afterHide`|`function`| no ||| A function to be called after the tooltip is hidden |
130
+
|`disableTooltip`|`function`| no ||| A function that takes a ref to each anchor element and returns a boolean indicating whether to hide the tooltip for that specific anchor. |
130
131
|`middlewares`|`Middleware[]`| no || array of valid `floating-ui` middlewares | Allows for advanced customization. Check the [`floating-ui` docs](https://floating-ui.com/docs/middleware) for more information |
131
132
|`border`| CSS border | no || a CSS border style | Change the style of the tooltip border (including the arrow) |
132
133
|`opacity`| CSS opacity | no |`0.9`| a CSS opacity value | Change the opacity of the tooltip |
0 commit comments