react-animations
react-animations copied to clipboard
JSS example in documentation is buggy
Current example:
const {classes} = jss.createStyleSheet({
'@keyframes bounce': bounce,
bounce: {
animationName: 'bounce',
animationDuration: '1s',
},
}).attach()
Corrected example:
const {classes} = jss.createStyleSheet({
'@keyframes bounce': bounce,
bounce: {
animationName: '$bounce',
animationDuration: '1s',
},
}).attach()
$ sign in missing in animationName value.