Skip to content

Commit

Permalink
chore: adding disabledTooltip to options in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nareshpingale committed Jul 23, 2024
1 parent f9493de commit 30e2356
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 30e2356

Please sign in to comment.