-
Notifications
You must be signed in to change notification settings - Fork 35
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
[임귀태] Sprint7 #206
The head ref may contain hidden characters: "React-\uC784\uADC0\uD0DC-sprint7"
[임귀태] Sprint7 #206
Conversation
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.
과제하느라 고생하셨습니다!
Button.propTypes = { | ||
size: PropTypes.oneOf(["small", "medium", "large"]).isRequired, | ||
height: PropTypes.oneOf(["42", "48"]), | ||
theme: PropTypes.oneOf(["blue", "white"]), | ||
innerText: PropTypes.string, | ||
to: PropTypes.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.
propTypes를 사용해보셨군요! 좋네요.
@@ -1,6 +1,6 @@ | |||
.searchBar { | |||
display: flex; | |||
background-color: #f3f4f6; | |||
background-color: var(--gray100); |
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.
컬러변수 반영해주신 점 좋네요~
@@ -29,19 +31,45 @@ function AddItemPage() { | |||
}); | |||
}; | |||
|
|||
const handleImageDelete = (e) => { | |||
// 이미지 삭제 버튼 클릭 시, |
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.
함수명을 구체적으로 잘 작성해주셔서 주석은 달아주시지 않아도 어떤 역할을 하는 함수인지 잘 알아볼 수 있을 것 같습니다.
const ORDER_BY_RECENT = "recent"; | ||
const ORDER_BY_FAVORITE = "favorite"; |
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.
상수 관리해주신 점 좋네요!
체크리스트 [기본]
상품 상세
=> favoriteCount : 하트 개수
=> images : 상품 이미지
=> tags : 상품태그
=> name : 상품 이름
=> description : 상품 설명
상품 문의 댓글
=> image : 작성자 이미지
=> nickname : 작성자 닉네임
=> content : 작성자가 남긴 문구
=> description : 상품 설명
=> updatedAt : 문의글 마지막 업데이트 시간
멘토님께