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

[CardMedia] Fix propTypes to allow component prop #19790

Merged
merged 3 commits into from
Feb 21, 2020

Conversation

stevenmusumeche
Copy link
Contributor

CardMedia already supports the component prop, however, console errors are generated when using it in development mode. This change fixes that warning.

@oliviertassinari oliviertassinari added the component: card This is the name of the generic UI component, not the React module! label Feb 21, 2020
@oliviertassinari
Copy link
Member

@stevenmusumeche Thanks for the update of the prop-types. I'm not sure about the TypeScript update, I believe the types are already supposed to handle the prop. Could you look into the CI fails? :)

@stevenmusumeche
Copy link
Contributor Author

@oliviertassinari I made those changes and everything in CI is passing now except for Azure pipelines: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

@mui-pr-bot
Copy link

No bundle size changes comparing 264684b...7b5a7c6

Generated by 🚫 dangerJS against 7b5a7c6

@stevenmusumeche
Copy link
Contributor Author

@oliviertassinari thanks for approving. anything else needed from me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: card This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants