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.
💡 변경사항 & 이슈
텍스트 컴포넌트 제작
✍️ 관련 설명
매번 mixin 사용해서 스타일링 하는거 보다 Text 컴포넌트를 만들고 props로 스타일링 받는게 통일성 밎 확장성에 도움 될 거 같아서 만들어봤어
props들만 간단히 설명해줄게
size -> font size
color -> font color
weight -> font weight
align -> text align
위 props들은 보면 다 알 수 있을거야
truncated -> 얘는 텍스트 line clamp 및 overflow ellipsis 처리 용인데 우선은 true로 줄때 1줄 처리, 2로 넘기면 2줄 처리까지만 해놨어 이후에 필요성이 생기면 확장해볼게
내가 놓치지 않았다면 이 컴포넌트로 지금까지 나온 디자인의 텍스트들은 다 처리가 가능할꺼야. 혹시 놓친 부분이 있거나 의견 있으면 애기해줘!
⭐️ Review point
📷 Demo
.