I installed the Animate.CSS by npm install animate.css --save
and it saved in the ./node_modules
, locally packages.
As I read the Animate.CSS documentation in Github, it said that just only add the class name such as fadeInDown, bouceInDown...etc
in the element that I wanted to make the animation but I do not get any idea about require a class name from locally packages.
Question: How can we require a class name from the Animate.CSS locally package and add it in the ReactJs Component ?
Assume: I have a react component as following and I want to add class name as animated bounceIn
.
export class SimpleInfo extends React.Component {
render() {
return(
<div>My information</div>
)
}
}