How do I pass parameters in a function with useState?
const [count, setCount] = useState(0); const addNumber = (number) => setCount(count + number) //////////