From 94e2dad092c1990acfa8e6514cfdf332b07350dc Mon Sep 17 00:00:00 2001 From: Brian Michael Poblete Date: Tue, 28 Mar 2023 10:01:48 -0400 Subject: [PATCH] Fix typo in docs/options.mdx --- docs/docs/options.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/options.mdx b/docs/docs/options.mdx index 04a5f176..c299bd06 100644 --- a/docs/docs/options.mdx +++ b/docs/docs/options.mdx @@ -121,7 +121,7 @@ import 'react-tooltip/dist/react-tooltip.css' | `closeOnEsc` | `boolean` | no | `false` | `true` `false` | Pressing escape key will close the tooltip | | `style` | `CSSProperties` | no | | a React inline style | Add inline styles directly to the tooltip | | `position` | `{ x: number; y: number }` | no | | any `number` value for both `x` and `y` | Override the tooltip position on the DOM | -| `isOpen` | `boolen` | no | handled by internal state | `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`) | +| `isOpen` | `boolean` | no | handled by internal state | `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`) | | `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 |