Skip to content

Commit d4da340

Browse files
docs: add middlewares prop to options list
1 parent aa0a8cc commit d4da340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/options.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ import 'react-tooltip/dist/react-tooltip.css'
7575
| setIsOpen | function | false | | | the tooltip can be controlled or uncontrolled, this attribute can be used to handle show and hide tooltip outside tooltip |
7676
| afterShow | function | false | | | a function to be called after the tooltip is shown |
7777
| afterHide | function | false | | | a function to be called after the tooltip is hidden |
78+
| middlewares | array | false | | array of valid `floating-ui` middlewares | allows for advanced customization. check the [`floating-ui` docs](https://floating-ui.com/docs/middleware) for more information |
7879

7980
### Data attributes
8081

0 commit comments

Comments
 (0)