FormidableLabs / react-animations

🎊 A collection of animations for inline style libraries
MIT License
3.06k stars 160 forks source link

StyleRoot is necessary if you want to import animation with Radium. #10

Closed bkda closed 7 years ago

bkda commented 7 years ago

I installed this package for my react project and tried many times, I haven't use animations.css and radium before, so I tried to copy the code sample from README usage. And it doesn't work, although I tried many times.

Finally ,I realize that, it's very important to add </StyleRoot>, if not, the animation won't work.

See this issue #5 .This is the reason why many guys get stuck with it, so I write this to notice other guys and pull a request.