Closed janhoeck closed 6 years ago
Hello,
I want to change a value of a jss property, when a prop changes. I read this article: https://github.com/cssinjs/react-jss#dynamic-values but this won't work, as you can see in my sandbox example https://codesandbox.io/s/4qy85qrly4
Maybe anyone could help me :D Why I want to change the property of a jss key: Because I want to animate it with a transition
@janhoeck I'm closing as a duplicate of #7633
Also, we have been documenting the use case in https://material-ui.com/customization/overrides/#2-dynamic-variation-for-a-one-time-situation.
Hello,
I want to change a value of a jss property, when a prop changes. I read this article: https://github.com/cssinjs/react-jss#dynamic-values but this won't work, as you can see in my sandbox example https://codesandbox.io/s/4qy85qrly4
Maybe anyone could help me :D Why I want to change the property of a jss key: Because I want to animate it with a transition