-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Timeline] Migrate TimelineOppositeContent to emotion #25816
[Timeline] Migrate TimelineOppositeContent to emotion #25816
Conversation
@material-ui/lab: parsed: +0.14% , gzip: +0.04% |
packages/material-ui-lab/src/TimelineOppositeContent/timelineOppositeContentClasses.js
Show resolved
Hide resolved
packages/material-ui-lab/src/TimelineOppositeContent/TimelineOppositeContent.js
Outdated
Show resolved
Hide resolved
packages/material-ui-lab/src/TimelineOppositeContent/TimelineOppositeContent.js
Show resolved
Hide resolved
…ttps://github.com/vicasas/material-ui into feature/migrate-timeline-opposite-demo-to-emotion
const { classes, className, ...other } = props; | ||
const TimelineOppositeContent = React.forwardRef(function TimelineOppositeContent(inProps, ref) { | ||
const props = useThemeProps({ props: inProps, name: 'MuiTimelineOppositeContent' }); | ||
const { className, ...other } = props; | ||
|
||
const { align = 'left' } = React.useContext(TimelineContext); | ||
const { classes: contextClasses = {} } = React.useContext(TimelineItemContext); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We won't be needing this after #25822 (review) No preference on the other of how there are merged as long as we release them all at once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this one and we can actually do the update in #25822 (review)
One of #24405