-
Notifications
You must be signed in to change notification settings - Fork 6
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-fe: 지원자 카드 컴포넌트의 UI 개선 적용 #808
Conversation
1728958638.215939 |
1728958648.252969 |
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.
고생하셨습니다! prop이 점점 많아지는군요..😵💫
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.
구현하신 부분 잘 확인했습니다!
isSelectMode에서는 hover가 안되도록 하면 어떨까 싶어 코멘트 남겨드려요!
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.
쵝오👍
Original issue description
목적
작업 세부사항
COM_REC_CARD_04
목적
작업 세부사항
참고사항
isSelectMode
: 여러 지원자 선택 모드인지 여부를boolean
타입으로 받습니다.isSelected
: 이 지원자 카드가 선택된 상태인지boolean
타입으로 받습니다.onSelectApplicant
: 이 지원자 카드가 선택되었을 때 실행할 함수를 받습니다.ProcessColumn
)에서 받기 때문에, 이 컴포넌트 자체적으로는 체크 표시에 필요한 내부 상태를 관리하고 있지 않습니다.CheckBox
컴포넌트는onToggle
prop으로 넘겨야 할 함수는 빈 함수(() => {}
)로 대체했어요.onClick
이벤트에 대해 조건부로 실행 함수를 달리 적용하는 형태를 취했기 때문이에요.isSelectMode
가true
라면 카드 클릭이onSelectApplicant
실행으로 이어집니다.참고 화면
지원자 카드 UI 수정 사항
지원자 카드 체크박스 요소 추가
관련 이슈