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
isCapture | data-iscapture | Bool | true, false | when set to true, custom event's propagation mode will be capture
58
58
offset | data-offset | Object | top, right, bottom, left | `data-offset="{'top': 10, 'left': 10}"` for specific and `offset={{top: 10, left: 10}}` for global
59
59
multiline | data-multiline | Bool | true, false | support `<br>`, `<br />` to make multiline
60
-
class | data-class | String | | extra custom class, can use !important to overwrite react-tooltip's default class
60
+
className | data-class | String | | extra custom class, can use !important to overwrite react-tooltip's default class
61
61
html | data-html | Bool | true, false | `<p data-tip="<p>HTML tooltip</p>" data-html={true}></p>` or `<ReactTooltip html={true} />`
62
62
delayHide | data-delay-hide | Number | | `<p data-tip="tooltip" data-delay-hide='1000'></p>` or `<ReactTooltip delayHide={1000} />`
63
63
delayShow | data-delay-show | Number | | `<p data-tip="tooltip" data-delay-show='1000'></p>` or `<ReactTooltip delayShow={1000} />`
@@ -116,7 +116,7 @@ The component was designed to set a `<Reactooltip />` one place then use tooltip
116
116
117
117
1. Put `<ReactTooltip />` out of the `<Modal>`
118
118
2. Use `ReactTooltip.rebuild()` when opening the modal
119
-
3. If your modal's z-index happens to higher than the tooltip, use the attribute `class` to custom your tooltip's z-index
119
+
3. If your modal's z-index happens to higher than the tooltip, use the attribute `className` to custom your tooltip's z-index
120
120
121
121
>I suggest always put `<ReactTooltip />` in the Highest level or smart component of Redux, so you might need these static
122
122
method to control tooltip's behaviour in some situations
0 commit comments