* 컴포넌트 props 넘겨서 css 효과주기 styled 컴포넌트로 props값을 넘겨서 동적인 효과를 낼 수 있다! import { StyledSell } from './sell.css' import { useState } from 'react' import BuyNow from './BuyNow' import Auction from './Auction' const Sell = ()=>{ const [isNow,setIsNow] = useState(true); // 즉시구매를 선택한 경우 const handleNow =()=>{ setIsNow(true); } // 경매를 선택한 경우 const handleAuc = ()=>{ setIsNow(false); } return ( handleNow()} ..