Browse Source
Visually disable the button if it is loading (ConfirmModal)
gre-patch-1
meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
1 additions and
0 deletions
-
src/components/base/Modal/ConfirmModal.js
|
@ -79,6 +79,7 @@ class ConfirmModal extends PureComponent<Props> { |
|
|
primary={!isDanger} |
|
|
primary={!isDanger} |
|
|
danger={isDanger} |
|
|
danger={isDanger} |
|
|
isLoading={isLoading} |
|
|
isLoading={isLoading} |
|
|
|
|
|
disabled={isLoading} |
|
|
> |
|
|
> |
|
|
{realConfirmText} |
|
|
{realConfirmText} |
|
|
</Button> |
|
|
</Button> |
|
|