-
-
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
[docs] Add dynamic class name TS demo #17793
Conversation
No bundle size changes comparing daadbca...cc2bdc9 |
import Switch from '@material-ui/core/Switch'; | ||
|
||
const useStyles = makeStyles({ | ||
button: { |
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.
I would approve but, I can’t remember if we include createStyles still. I would guess we still do but I’d have to check to be 100%
I’m on my phone atm but will check in a bit
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.
I think that we add it when the theme is used, it seems to be fine here.
import Switch from '@material-ui/core/Switch'; | ||
|
||
const useStyles = makeStyles({ | ||
button: { |
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.
I think that we add it when the theme is used, it seems to be fine here.
Thanks! |
No description provided.