refactor(Tag): Tag 컴포넌트 type, icon 추가 #313
Open
+68
−26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
링크
시급한 정도
🏃♂️ 보통 : 최대한 빠르게 리뷰 부탁드립니다.
기타 사항
1. type='accent' 속성 추가
accenttype 추가했습니다.accent디자인이 되어있지 않긴했는데,같은 방식으로
default-accent에 대해서도 만들어 뒀습니다. (흰배경, 검은글씨)2. LeftIcon prop 추가
3. storybook 반영
수정 내용에 맞게 Tag 스토리 파일도 반영해뒀으니, 스토리북도 한번 확인해주시면 감사하겠습니다.
추가 논의 사항
작업을 하다보니, 사진과 같이
double quote (" ")->single quote(' ')가 수정사항에 잡히는 파일들이 있었습니다.(실제 변경 사항은
gap: '4px'만 추가 됐습니다.prettier 설정 보니 single quote 가 맞는 것 같긴한데, 포맷팅 작업 한번 하면 좋을 것 같습니다