Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui/components): Checkbox 추가 #326

Merged
merged 2 commits into from
Aug 22, 2024
Merged

feat(ui/components): Checkbox 추가 #326

merged 2 commits into from
Aug 22, 2024

Conversation

sukvvon
Copy link
Member

@sukvvon sukvvon commented Aug 22, 2024

이슈 번호

작업한 목록을 작성해 주세요

  • 이슈 내용과 같습니다.

스크린샷

pr 포인트나 궁금한 점을 작성해 주세요

@sukvvon sukvvon requested a review from heyman333 as a code owner August 22, 2024 07:53
@sukvvon sukvvon linked an issue Aug 22, 2024 that may be closed by this pull request
1 task
Copy link

vercel bot commented Aug 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
favolink-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2024 7:53am

@github-actions github-actions bot added the feat 새로운 기능 추가 또는 기존 기능의 확장 label Aug 22, 2024
Comment on lines +24 to +25
data-accent-color={color ?? 'black'}
data-border-color={borderColor ?? 'gray700'}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • data 속성을 통해 사용자가 색상 관련 속성을 알 수 있게 합니다.
  • default 색상은 color는 black, borderColor는 gray700입니다.

Comment on lines +19 to +20
const { className, color, borderColor, size, ...restProps } =
extractMarginProps(props);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkbox 컴포넌트는

  • margin에 대한 모든 속성을 가집니다.
  • borderColor, 즉 border 색상, color 즉 Checkbox 내부 색상을 가집니다.

@sukvvon sukvvon merged commit db44ce0 into main Aug 22, 2024
7 checks passed
@sukvvon sukvvon deleted the feat/325 branch August 22, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 새로운 기능 추가 또는 기존 기능의 확장
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(ui/components): Checkbox 추가
1 participant