Skip to content

[Box] Fix TypeScript error on maxWidth prop#26859

Merged
eps1lon merged 7 commits intomui:nextfrom
ansh-saini:fix-box-maxwidth-prop
Jun 25, 2021
Merged

[Box] Fix TypeScript error on maxWidth prop#26859
eps1lon merged 7 commits intomui:nextfrom
ansh-saini:fix-box-maxwidth-prop

Conversation

@ansh-saini
Copy link
Contributor

@ansh-saini ansh-saini commented Jun 20, 2021

Fixes TypeScript issue spotted in #25771

@mui-pr-bot
Copy link

mui-pr-bot commented Jun 20, 2021

No bundle size changes (experimental)

Generated by 🚫 dangerJS against 6ecd733

@oliviertassinari
Copy link
Member

Could you add a test case?

@oliviertassinari oliviertassinari changed the title [Box] fix TypeScript error on maxWidth prop [Box] Fix TypeScript error on maxWidth prop Jun 20, 2021
@oliviertassinari oliviertassinari added component: Box The React component. typescript type: bug It doesn't behave as expected. labels Jun 20, 2021
@ansh-saini
Copy link
Contributor Author

ansh-saini commented Jun 20, 2021

@oliviertassinari This is my first time contributing to material-ui. Are there any resources or existing test cases (which test TypeScript functionality) that I can refer to write a test case for this bug?

Should I write a test and just render the box component as done in #25771?

@oliviertassinari oliviertassinari deleted the branch mui:next June 22, 2021 00:28
@oliviertassinari oliviertassinari changed the base branch from foo to next June 22, 2021 00:39
@eps1lon
Copy link
Member

eps1lon commented Jun 25, 2021

@ansh-saini It's a great first pull request on Material-UI. Thank you for working on it!

@ansh-saini
Copy link
Contributor Author

Thank you so much. This is very exciting for me. I will try to contribute more as I start to understand the code-base.

@ansh-saini ansh-saini deleted the fix-box-maxwidth-prop branch June 25, 2021 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: Box The React component. type: bug It doesn't behave as expected. typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants