<LikeButton
className={isLiked === true ? 'liked' : 'unLiked'}
/>
//스타일드 컴포넌트 부분
const LikeButton = styled.button`
width: 0.9375rem;
height: 0.9375rem;
margin-right: 0.25rem;
&.liked {
background: url(이미지 URL)
center center no-repeat;
}
&.unLiked {
background: url(이미지 URL)
center center no-repeat;
}
`;
liked 일때
unliked일 때