-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] Checkbox 컴포넌트 개발 및 디자인 구현 #9
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
The head ref may contain hidden characters: "8-feat/Checkbox-\uCEF4\uD3EC\uB10C\uD2B8-\uC81C\uC791"
Conversation
PR 검증 결과✅ TypeScript: 통과 |
PR 검증 결과✅ TypeScript: 통과 |
KyeongJooni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다! :)
src/shared/ui/Checkbox/Checkbox.tsx
Outdated
|
|
||
| return ( | ||
| <label className={root({ className })}> | ||
| <input type="checkbox" className="sr-only" checked={checked} disabled={disabled} {...props} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Props 전개 순서를 바꿔야 할 것 같아요 {...props}가 마지막에 오면 명시적으로 전달한 checked, disabled 값을 제대로 인식 못할 수도 있을 것 같습니다!
| <input type="checkbox" className="sr-only" checked={checked} disabled={disabled} {...props} /> | |
| <input type="checkbox" className="sr-only" {...props} checked={checked} disabled={disabled} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정 했습니다. 커멘트 감사합니다.!
PR 검증 결과✅ TypeScript: 통과 |
PR 검증 결과✅ TypeScript: 통과 |
KyeongJooni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 고생하셨습니다! :)
YeBeenChoi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다 고생 많으셨어요!
✨ 주요 변경사항
공통 Checkbox 컴포넌트를 신규 구현했습니다.
디자인 토큰(index.css)과 tailwind-variants 기반으로 피그마 스펙과 동일하게 스타일을 구성했습니다.
📝 작업 상세 내용
✅ 체크리스트
Close #번호추가📸 스크린샷 (선택)
🔍 기타 참고사항
🔗 관련 이슈