Skip to content

[Tabs] Migrate TabPanel to emotion#25646

Merged
mnajdova merged 6 commits intomui:nextfrom
tomasznguyen:migrate-tabpanel-emotion
Apr 8, 2021
Merged

[Tabs] Migrate TabPanel to emotion#25646
mnajdova merged 6 commits intomui:nextfrom
tomasznguyen:migrate-tabpanel-emotion

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 scope: tabs Changes related to the tabs. 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

scope: tabs Changes related to the tabs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants