'use client' import React from 'react' export function Counter({ onClick }) { const [count, setCount] = React.useState(0) return ( <>