-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow loading and disable state for confirm button in ConfirmationModal #1075
feat: allow loading and disable state for confirm button in ConfirmationModal #1075
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for adding this. One suggestion to make the naming more consistent with existing components.
confirmButtonLoading?: boolean; | ||
/** | ||
* Disable the confirm button. | ||
*/ | ||
confirmButtonDisabled?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe both can be loading
and disabled
to stay in line with how the action button component calls them? Or do you think those will be too ambiguous?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think it might be a little ambiguous since there are two buttons?
…ionModal Signed-off-by: Mason Hu <[email protected]>
90434a2
to
bad3afa
Compare
🎉 This PR is included in version 0.52.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Done