Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

JSS example in documentation is buggy #40

Open
uadarsh opened this issue Oct 12, 2020 · 0 comments
Open

JSS example in documentation is buggy #40

uadarsh opened this issue Oct 12, 2020 · 0 comments

Comments

@uadarsh
Copy link

uadarsh commented Oct 12, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant