import { useState } from 'react' const Stats = ({ positive, neutral, negative }) => { return ( <>
Positive: {positive}
Neutral: {neutral}
Negative: {negative}
> ) } const Button = ({ handler, text }) => { return ( ) } const App = () => { const [good, setGood] = useState(0) const [neutral, setNeutral] = useState(0) const [bad, setBad] = useState(0) const incPositive = () => { setGood(good + 1) } const incNegative = () => { setBad(bad + 1) } const incNeutral = () => { setNeutral(neutral + 1) } return (