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

[theme] Remove MuiThemeProvider alias #26171

Merged
merged 1 commit into from
May 7, 2021

Conversation

m4theushw
Copy link
Member

@m4theushw m4theushw commented May 6, 2021

Breaking changes

  • [theme] The MuiThemeProvider is no longer exported. Use ThemeProvider instead.

    -import { MuiThemeProvider } from '@material-ui/core/styles';
    +import { ThemeProvider } from '@material-ui/core/styles';

Part of #20012

Copy link
Member

@oliviertassinari oliviertassinari 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, we started the deprecation with v3 -> v4

@mui-pr-bot
Copy link

mui-pr-bot commented May 6, 2021

Details of bundle changes

Generated by 🚫 dangerJS against 75593f4

@m4theushw m4theushw merged commit 21ec808 into mui:next May 7, 2021
@m4theushw m4theushw deleted the remove-MuiThemeProvider branch May 7, 2021 11:35
@oliviertassinari oliviertassinari modified the milestones: v5, v5-beta Aug 17, 2021
@oliviertassinari oliviertassinari mentioned this pull request Aug 17, 2021
42 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants