-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[system][Box] Added boxClasses #39896
Conversation
Netlify deploy previewhttps://deploy-preview-39896--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
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.
We should propagate the defaultClassname as boxClasses.root
, similar as done in Material UI and Joy UI, otherwise the classname applied on the component will always be MuiBox-root
, for e.g. inspect the DOM in https://codesandbox.io/s/angry-blackburn-6m234z?file=/src/Demo.tsx
@mnajdova I have made the changes as suggested.
|
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.
Looks good now 👍 Thanks for finish up this effort across all products :)
Added boxClasses for Box component in system #39889