diff --git a/docs/docs/options.mdx b/docs/docs/options.mdx index 4bdb006a..ea7aefab 100644 --- a/docs/docs/options.mdx +++ b/docs/docs/options.mdx @@ -127,6 +127,7 @@ import { Tooltip } from 'react-tooltip'; | `setIsOpen` | `function` | no | | | The tooltip can be controlled or uncontrolled, this attribute can be used to handle show and hide tooltip outside tooltip | | `afterShow` | `function` | no | | | A function to be called after the tooltip is shown | | `afterHide` | `function` | no | | | A function to be called after the tooltip is hidden | +| `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. | | `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 | | `border` | CSS border | no | | a CSS border style | Change the style of the tooltip border (including the arrow) | | `opacity` | CSS opacity | no | `0.9` | a CSS opacity value | Change the opacity of the tooltip |