Cannot get basic animation working?
am8525 opened this issue · comments
AJ commented
Just trying to get something basic going, and it doesn't seem to be working.
Note: I have figured out how to use anime.js with React, and will be doing so until I can figure out how to use react-anime.
Here's my code:
render(){
const {classes} = this.props;
return (
<div className={classes.landscape}>
<div className={classes.centerpiece}>
<Anime delay={100} scale={[.1, .9]}>
<Dot className={classes.dot}/>
</Anime>
</div>
</div>
);
}
AJ commented
Figured it out. Just had to enclose within some divs.