react-animations icon indicating copy to clipboard operation
react-animations copied to clipboard

JSS example in documentation is buggy

Open uadarsh opened this issue 4 years ago • 0 comments

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.

uadarsh avatar Oct 12 '20 13:10 uadarsh