-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[joy-ui][Badge] Shouldn't crash when using custom size #39986
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
Conversation
Signed-off-by: Saumya Pandey <pandeyysaumya@gmail.com>
Signed-off-by: Saumya Pandey <pandeyysaumya@gmail.com>
Netlify deploy previewhttps://deploy-preview-39986--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
Could you please create a new issue first and provide a CodeSandbox reproduction of the problem you're encountering? You can use this template for the CodeSandbox. |
Since there is no response on the above comment, I am closing it. |
Here is the codesandbox link https://codesandbox.io/p/sandbox/epic-kate-rlxhwy |
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! Left one comment. Could you also merge with the latest master branch?
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.
@iamsaumya I made the changes. Thanks for your contribution!
Signed-off-by: Saumya Pandey <pandeyysaumya@gmail.com> Co-authored-by: ZeeshanTamboli <zeeshan.tamboli@gmail.com>
We need additional size for Badge component and don't have corresponding
body-<>
level for itBefore: https://codesandbox.io/p/sandbox/festive-swanson-8mt9l6?file=%2Fsrc%2FApp.tsx%3A2%2C16
After: https://codesandbox.io/p/sandbox/joy-ui-cra-ts-forked-2sp3rh?file=%2Fsrc%2FApp.tsx%3A21%2C1