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

[Tabs] Migrate TabPanel to emotion #25646

Merged
merged 6 commits into from
Apr 8, 2021

Conversation

tomasznguyen
Copy link
Contributor

@tomasznguyen tomasznguyen commented Apr 7, 2021

One of #24405

Because TabPanel is a lab component, I have imported experimentalStyled and useThemeProps as follows:

import {
  experimentalStyled,
  unstable_useThemeProps as useThemeProps,
} from '@material-ui/core/styles';

Let me know if this is the correct way.

@tomasznguyen tomasznguyen changed the title migrate TabPanel to emotion [TabPanel] Migrate to emotion Apr 7, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Apr 7, 2021

Details of bundle changes

@material-ui/lab: parsed: +0.09% , gzip: +0.07%

Generated by 🚫 dangerJS against 3d25092

@tomasznguyen

This comment has been minimized.

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks

@tomasznguyen
Copy link
Contributor Author

You're welcome :)

@mnajdova mnajdova merged commit 6e666a6 into mui:next Apr 8, 2021
@mnajdova mnajdova added the component: tabs This is the name of the generic UI component, not the React module! label Apr 8, 2021
@mnajdova mnajdova changed the title [TabPanel] Migrate to emotion [Tabs] Migrate TabPanel to emotion Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tabs 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