Loading state for buttons using isLoading
prop
#596
burhanuday
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The button component has a disabled state but not a loading state
Describe the solution you'd like
The loading state for buttons is very convenient to have. For example, when submitting a form, you can set prop
isLoading={true}
on the button which would render a spinner inside the buttonCheckout ChakraUI and MaterialUI
We already have a
Loading
component which can be rendered inside the Button if isLoading prop is trueAdditional context
I'd like to pick this task up once it gets green ligh
Beta Was this translation helpful? Give feedback.
All reactions