1 2 3 4 5 6 7 8 9 10 11 12 13 14"use client"; import { useState } from "react"; export default function Counter() { const [count, setCount] = useState(0); return ( <div> <p data-testid="count">Count: {count}</p> <button onClick={() => setCount(count + 1)}>Increment</button> </div> ); }