import { useState } from 'react' import './App.css' function App(prop) { const [count, setCount] = useState(0) const [car, setCar] = useState({ brand: "Ford", model: "Mustang", year: "1964", color: "red" }); function increment() { let x = count; x++; setCount(x); } return ( <> ) } export default App