react-progress-button
react-progress-button copied to clipboard
option to keep button in error state
This allows to force the button in error state (does no go back to NOTHING state after timeout durationError).
Can be useful in case the error is not recoverable (no need to re-click the button).