mash-up-kr / ppoba

어떤 상황에서나 즐기는 나만의 랜덤 텍스트 카드게임
https://ppoba.app
MIT License
10 stars 1 forks source link

Add Icon component #22

Closed swimjiy closed 1 year ago

swimjiy commented 1 year ago

Related Issue #14

Icon 컴포넌트를 생성합니다. fill이랑 stroke를 props로 입력받아 사용하는 방법 삽질을 하루 해봤는데...모든 svg에 currentColor를 적용해주는 등 공수가 커보여서 우선은 width, height만 지원하도록 만들었습니다.

좋은 의견이나 아이디어 있으면 얘기해주세요!

yungjurick commented 1 year ago

width랑 height로만 일단 제어하고 색깔이 다른 경우는 따로 얘기 먼저 할게욧!