Skip to content
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

[Button] Rename pending prop to loading in LoadingButton #25874

Merged
merged 6 commits into from
Apr 23, 2021

Conversation

m4theushw
Copy link
Member

@m4theushw m4theushw commented Apr 21, 2021

Breaking change

-<LoadingButton pending pendingIndicator="Pending..." pendingPosition="end" />
+<LoadingButton loading loadingIndicator="Pending..." loadingPosition="end" />

Closes #21593
Based on #23012
Part of #20012

@mui-pr-bot
Copy link

mui-pr-bot commented Apr 21, 2021

Details of bundle changes

Generated by 🚫 dangerJS against ade76e8

@oliviertassinari oliviertassinari added the component: button This is the name of the generic UI component, not the React module! label Apr 21, 2021
@oliviertassinari oliviertassinari changed the title [LoadingButton] Rename pending prop to loading [Button] Rename pending prop to loading in LoadingButton Apr 21, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The least worse naming option 👌

@m4theushw m4theushw merged commit ddafaa0 into mui:next Apr 23, 2021
@m4theushw m4theushw deleted the loadingButton branch April 23, 2021 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: button This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Button] Change LoadingButton prop pending to loading
4 participants