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] Fix TypeScript error on maxWidth prop #26859

Merged
merged 7 commits into from Jun 25, 2021

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 bug 🐛 Something doesn't work 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
bug 🐛 Something doesn't work component: Box The React component. typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants