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] Add missing classes in ButtonClasses type #33040

Merged

Conversation

ZeeshanTamboli
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli commented Jun 6, 2022

Fixes #32787

Add the missing CSS classes for Button.

I am marking this as a "bug" since the styles do get overridden but only the types are missing.

Before: https://codesandbox.io/s/silly-carlos-1xoq8d?file=/src/Demo.tsx

After: https://codesandbox.io/s/great-dew-q5kzzy?file=/src/Demo.tsx

Docs: https://deploy-preview-33040--material-ui.netlify.app/material-ui/api/button/

@ZeeshanTamboli ZeeshanTamboli added bug 🐛 Something doesn't work component: button This is the name of the generic UI component, not the React module! typescript labels Jun 6, 2022
@mui-bot
Copy link

mui-bot commented Jun 6, 2022

Details of bundle changes

Generated by 🚫 dangerJS against 0e65e95

@ZeeshanTamboli ZeeshanTamboli marked this pull request as ready for review June 6, 2022 10:09
Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

Very clean PR @ZeeshanTamboli :)

@ZeeshanTamboli ZeeshanTamboli merged commit b2433d4 into mui:master Jun 9, 2022
@ZeeshanTamboli ZeeshanTamboli deleted the add-missing-button-classes-typings branch June 9, 2022 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: button This is the name of the generic UI component, not the React module! typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Button] Missing CSS classes in Button typings
3 participants