Untitled
unknown
plain_text
10 months ago
323 B
3
Indexable
const Tests = () => { const[count,setcount]=useState(0) useEffect(()=>{ setTimeout(() => { setcount(3) }, 3000); },[]) return ( <div className="flex justify-center items-center flex-col"> <h1 className="text-red-300">Test Comp</h1> <h2>{count}</h2> </div> ); };
Editor is loading...
Leave a Comment