Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0ec1bd4

Browse files
docs: closeOnEsc prop
1 parent a8d49af commit 0ec1bd4

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
@@ -69,6 +69,7 @@ import 'react-tooltip/dist/react-tooltip.css'
6969
| float | boolean | false | `false` | `true` `false` | tooltip will follow the mouse position when it moves inside the anchor element (same as V4's `effect="float"`) |
7070
| noArrow | boolean | false | `false` | `true` `false` | tooltip arrow will not be shown |
7171
| clickable | boolean | false | `false` | `true` `false` | allow interaction with elements inside the tooltip. useful when using buttons and inputs |
72+
| closeOnEsc | boolean | false | `false` | `true` `false` | pressing escape key will close the tooltip |
7273
| style | CSSProperties | false | | any React inline style | add styles directly to the component by `style` attribute |
7374
| position | `{ x: number; y: number }` | false | | any `number` value for both `x` and `y` | override the tooltip position on the viewport |
7475
| isOpen | boolen | false | 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`) |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /