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
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,15 +153,25 @@ Put the button in the disabled state.
153
153
154
154
Put the button in the normal state.
155
155
156
-
##### success([callback, dontGoBackToNormal])
156
+
##### success([callback, stayInSuccessState])
157
157
158
158
Put the button in the success state. Call the callback or the onSuccess prop when going back to the normal state.
159
-
Use `dontGoBackToNormal` flag to keep the button in success state (default is `false` so the button goes back to normal state after `durationSuccess`).
159
+
Use `stayInSuccessState` flag to keep the button in success state (default is `false` so the button goes back to normal state after `durationSuccess`).
0 commit comments