Skip to content

Commit 79ac7dd

Browse files
jpranaysgabrieljablonski
authored andcommitted
Updated docs/options
1 parent 2e6291c commit 79ac7dd

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
@@ -123,6 +123,7 @@ import { Tooltip } from 'react-tooltip';
123123
| `style` | `CSSProperties` | no | | a CSS style object | Add inline styles directly to the tooltip |
124124
| `position` | `{ x: number; y: number }` | no | | any `number` value for both `x` and `y` | Override the tooltip position on the DOM |
125125
| `isOpen` | `boolean` | no | | `true` `false` | The tooltip can be controlled or uncontrolled, this attribute can be used to handle show and hide tooltip outside tooltip (can be used **without** `setIsOpen`) |
126+
| `defaultIsOpen` | `boolean` | no | `false` | `true` `false` | It determines the initial visibility of the tooltip. If true, the tooltip is shown by default, if false or not provided then it's in hidden state by default. |
126127
| `setIsOpen` | `function` | no | | | The tooltip can be controlled or uncontrolled, this attribute can be used to handle show and hide tooltip outside tooltip |
127128
| `afterShow` | `function` | no | | | A function to be called after the tooltip is shown |
128129
| `afterHide` | `function` | no | | | A function to be called after the tooltip is hidden |

0 commit comments

Comments
 (0)