Как использовать AOS
npm install aos --save
then
import AOS from "aos";
import "aos/dist/aos.css";
then
useEffect(() => {
AOS.init({
duration: 3000,
});
});
then
<div data-aos="fade-up" className={classes.layout}>
Blue Baboon