You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/options.mdx
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -130,3 +130,4 @@ import { Tooltip } from 'react-tooltip';
130
130
|`opacity`| CSS opacity | no |`0.9`| a CSS opacity value | Change the opacity of the tooltip |
131
131
|`arrowColor`| CSS color | no || a CSS background color | Change color of the tooltip arrow |
132
132
|`disableStyleInjection`|`boolean` or `'core'`| no |`false`|`true``false``'core'`| Whether to disable automatic style injection. Do not set dynamically. Check the [styling page](./examples/styling#disabling-reacttooltip-css) for more details |
133
+
|`role`|`'tooltip'` or `'dialog'`| no |`tooltip`|`'tooltip'``'dialog'`| Set ARIA role, either `tooltip` or `dialog` if the tooltip should contain focusable elements |
0 commit comments