-
Notifications
You must be signed in to change notification settings - Fork 16
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
Migrate 'Note' component away from makeStyles + cleanup #630
Conversation
Pull Request Test Coverage Report for Build 4664601802
💛 - Coveralls |
@@ -19,9 +16,9 @@ export default function Note({ children }) { | |||
return ( | |||
<Box mt={1} data-testid='note-legend'> | |||
<Typography variant='caption'>Note:</Typography>{' '} | |||
<Typography className={classes.note} variant='caption'> |
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.
This is no longer necessary, as the caption
variant has a regular weight by default.
You can use just <Typography variant='caption' />
and remove the customization.
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.
👍
@jantolg I would suggest to:
|
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.
LGTM, thx a lot!
…rate-mui5-note-component
…/carto-react into feat/migrate-mui5-note-component
Description
Shortcut: 297037
Type of change
Acceptance
Same previous styles, but with MUI5
Basic checklist