import { useState } from "react";function App(){ const [color, setColor] = useState('red'); const [name, setName] = useState('카푸치노'); const [image, setImage] = useState('cappuccino01.png'); const ClickEvent = () => { console.log('현재 색상 : ' + color); if(color === 'red'){ setColor('blue'); setName('치아바타'); setImage('ciabatta_02.png'); ..