import React, { useState, useEffect } from 'react'; const App = () => { const [currentArtIndex, setCurrentArtIndex] = useState(0); const asciiArt = [ ` /\\_/\\( o.o ) > ^ < `, ` /\\_/\\ (='.'=) (\")_(\") `, `/\\_/\\ (^._.^) \\ / (|) `, `(\\__/) (='.'=) (\")_(\") `, ` /\\_/\\ ( o.o )( =^=) `,]; useEffect(() => { const timer = setInterval(() => { setCurrentArtIndex((prevIndex) => (prevIndex + 1) % asciiArt.length); }, 3000); return () => clearInterval(timer); }, []); return (
        {asciiArt[currentArtIndex]}
      
); }; export default App;