Skip to content

Commit cc5d197

Browse files
nareshpingalegabrieljablonski
authored andcommitted
chore: adding disabledTooltip to options in docs
1 parent 3d58319 commit cc5d197

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/options.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ import { Tooltip } from 'react-tooltip';
127127
| `setIsOpen` | `function` | no | | | The tooltip can be controlled or uncontrolled, this attribute can be used to handle show and hide tooltip outside tooltip |
128128
| `afterShow` | `function` | no | | | A function to be called after the tooltip is shown |
129129
| `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. |
130131
| `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 |
131132
| `border` | CSS border | no | | a CSS border style | Change the style of the tooltip border (including the arrow) |
132133
| `opacity` | CSS opacity | no | `0.9` | a CSS opacity value | Change the opacity of the tooltip |

0 commit comments

Comments
 (0)