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

[Box] Remove component from TypeMap #38168

Merged
merged 2 commits into from
Jul 31, 2023
Merged

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Jul 26, 2023

Props in Box's TypeMap had the component prop defined, unlike all other components in Material UI. This has proven to cause issues (see #35924).
The definition of the component field was moved to BoxProps in #38084.

Fixes #34068

@michaldudak michaldudak added bug 🐛 Something doesn't work typescript component: Box The React component. labels Jul 26, 2023
@michaldudak michaldudak requested a review from mnajdova July 26, 2023 13:22
@mui-bot
Copy link

mui-bot commented Jul 26, 2023

Netlify deploy preview

https://deploy-preview-38168--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 878f68a

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.

Looks good

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: Box The React component. typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Box] Type error when too many properties exist in JSX.IntrinsicElements
3 participants