react toggle element animation code example
Example: slide hide animaition in react
import {Animated} from "react-animated-css";
<Animated animationIn="slideInLeft" animationOut="slideOutLeft" animationInDuration={1000} animationOutDuration={1000} isVisible={true}>
<img src="/public/images/demo.jpg"/>
</Animated>