reactjs - React animation / ReactCSSTransitionGroup -
how make following link - spinner - work reactjs
http://codepen.io/awesome/pen/zngwr
i using webpack:
{ test: /\.css$/, loader: "style-loader!css-loader" }
i know css working other settings.
i have tried following, using same css file(copy paste local css ).
updated: "return" element, did not write in here. felix kling, noting this.
es6:
render(){ return <reactcsstransitiongroup transitionname="spinner" > <div key='test' classname="spinner"></div> </reactcsstransitiongroup> }
or
render(){ return <div key='test' classname="spinner"></div> }
this(both) gives me circle , no animation.
since asked in comments answer...
i believe problem copying on uncompiled scss instead of compiled css.
hope helps! :d
Comments
Post a Comment