-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 요일별 휴업 기능 적용 #131
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: 요일별 휴업 기능 적용 #131
Conversation
99mini
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.
감사합니다~!
하나 제안사항으로 CustomeCheckbox라는 이름보다 Checkbox혹은 SquareCheckbox 제안합니다
| const CustomCheckbox = ({ | ||
| checked, | ||
| onPress, | ||
| size = 18, | ||
| color = 'black', | ||
| }: CustomCheckboxProps) => { | ||
| return ( | ||
| <S.Container> |
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 라는 이름으로 사용해도 될 것같아요
아니면 사각형이니까 SquareCheckbox로 작명하고 추후 변경사항이 생기면 CircleCheckbox,...등등 추가하고 한 단계 추상화 컴포넌트를 만드는 것으로 확장하죠
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.
넵 좋습니다~! SquareCheckbox로 진행하겠습니다 👍
| <S.TimePickerButton | ||
| onPress={() => setOpenModal({type: 'open', index: idx})} | ||
| disabled={!isEditPermission || isClosed}> | ||
| {/* FIXME: openHours.openTime 타입 string으로 고정 */} |
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.
✅
99mini
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.
좋습니다~
#️⃣연관된 이슈
📝작업 내용
스크린샷 (선택)
💬리뷰 요구사항(선택)
저번 작업에서 openHour 내 시간들을 Date | string으로 제가 생성했었는데,
서버에서 string으로 주고있어 string으로 고정하면 어떨까 합니다!
기존 Date로 관리하던 값들을 string으로 변경했습니다.