[style] 공유하기 컴포넌트#8 #47
Merged
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.
📢 기능 설명
onClick?: () => void;
variants?: 'default' | 'community' : variant= 'community' 설정 시 겉에 둥근 테두리가 생깁니다;
title?: string; : API연결 후 사용할 Title
content?: string; :API연결 후 사용한 content
API 도입시 title과 content는 옵셔널 체크 풀어야합니다.
그리고 찾아보니 기본 방식/ 스크랩 방식으로 공유할 수 있던데
뭘 쓸지 모르겠어서 우선 기본 형싱으로 생각하고 파라미터를 넣어두었습니다.
그래서 어떤 방식인지 보고 기본 방식이 아니라면 파라미터를 수정해야 할 수 도 있을것같습니다.
연결된 issue
연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.
close #8
🩷 Approve 하기 전 확인해주세요!
✅ 체크리스트