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

[styles] Add MuiLink to ComponentsPropsList #15814

Merged

Conversation

stuartgrigg
Copy link
Contributor

This fixes #15752. The solution is as @eps1lon suggests - MuiLink is missing from the ComponentsPropsList interface. This causes an unnecessary type error when overriding MuiLink in the theme. I have tested that the issue is fixed by adding a Link and a MuiOverride for it to the create-react-app-with-typescript example locally. The PR is pointing to "master" as it is currently ahead of "next".

@mui-pr-bot
Copy link

No bundle size changes comparing 505e275...2d9bd24

Generated by 🚫 dangerJS against 2d9bd24

@oliviertassinari oliviertassinari merged commit 95179d8 into mui:master May 23, 2019
@stuartgrigg stuartgrigg deleted the override-muilink-props-in-theme branch May 24, 2019 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: material-ui Specific to @mui/material typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot override MuiLink props in theme
4 participants