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: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -70,8 +70,9 @@ className | data-class | String | | extra custom class, can use !importan
70
70
delayUpdate | data-delay-update | Number | | `<p data-tip="tooltip" data-delay-update='1000'></p>` or `<ReactTooltip delayUpdate={1000} />` Sets a delay in calling getContent if the tooltip is already shown and you mouse over another target
71
71
insecure | null | Bool | true, false | Whether to inject the style header into the page dynamically (violates CSP style-src but is a convenient default)
72
72
border | data-border | Bool | true, false | Add one pixel white border
73
-
textColor | data-text-color | String | e.g. red | Popup text color - required with the `backgroundColor` value
74
-
backgroundColor | data-background-color | String | e.g. yellow | Popup background color - required with the `textColor` value
73
+
textColor | data-text-color | String | e.g. red | Popup text color
74
+
backgroundColor | data-background-color | String | e.g. yellow | Popup background color
75
+
borderColor | data-border-color | String | e.g. green | Popup border color - enabled by the `border` value
75
76
arrowColor | data-arrow-color | String | e.g. #fff | Popup arrow color - if not specified, will use the `backgroundColor` value
76
77
getContent | null | Func or Array | (dataTip) => {}, [(dataTip) => {}, Interval] | Generate the tip content dynamically
77
78
afterShow | null | Func | (evt) => {} | Function that will be called after tooltip show, with event that triggered show
0 commit comments