withStyles
Last updated
Last updated
It's like but type safe by design.
IMPORTANT NOTICE: when you get red squiggly lines.
You can pass as first argument any component that accept a className
props:
It's also possible to start from a builtin HTML component:
You can also pass a mui component like for example <Button />
and you'll be able to overwrite (it uses the classes
prop).
You can experiment with those examples live , you can also run it locally with .