-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat(producttable): add isvisible/hidden icons #5407
Conversation
Signed-off-by: Machiko Yasuda <[email protected]>
3b7eddd
to
47e3a72
Compare
Signed-off-by: Machiko Yasuda <[email protected]>
6b1b06d
to
be0177a
Compare
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.
Reviewed code and behavior, all looks great to me!
isVisible: { | ||
color: theme.palette.colors.forestGreen300, | ||
fontSize: theme.typography.fontSize * 1.25, | ||
marginRight: theme.spacing(1) |
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 fine, but if the unit is 1
it's not required.
We should probably make a decision on whether to always use a number, even 1
, or leave it blank if it's 1
.
Doesn't matter to me either way, and will be a quick find / replace whichever way we decide.
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.
Ah, good to know. Add it to your future Spacing docs :)
Resolves #5392
Impact: minor
Type: feature
Issue
#5392
Solution

- use https://github.com/TeamWertarbyte/mdi-material-ui icon, like the Tag table does - but use MUI styling, rather than Styled-Components (which is what the Tag table does)Breaking changes
No
Testing