AOS.tsx 234 B

12345678910111213
  1. 'use client';
  2. import { useEffect } from 'react';
  3. import AOS from 'aos';
  4. export default function AOSComponent({ children }: { children: React.ReactNode }) {
  5. useEffect(() => {
  6. AOS.init();
  7. }, []);
  8. return <>{children}</>;
  9. }