-
Notifications
You must be signed in to change notification settings - Fork 1
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: card, popup componenets #10
Conversation
dialog borderRadius 변경 안 되나요? |
handleCancel: React.MouseEventHandler<HTMLButtonElement>; | ||
isOpen: boolean; | ||
} | ||
const ConfirmDialog: React.FC<ClosetDialogProps> = ({ handleSubmit, handleCancel, isOpen }) => { |
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.
이름 수정해주세요
onChange={handleChange} | ||
sx={{ backgroundColor: 'white', borderRadius: 1, margin: 3 }} | ||
/> | ||
<CancelSubmitBtns handleSubmit={handleSubmit} handleCancel={handleCancel} submitBtnText="등록" /> |
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로 받는 게 좋을 거 같습니다 수정/등록 두 개 다 써서요
src/components/WriteDialog/index.tsx
Outdated
handleCancel: React.MouseEventHandler<HTMLButtonElement>; | ||
isOpen: boolean; | ||
} | ||
const ConfirmDialog: React.FC<WriteDialogProps> = ({ message, placeholder, handleSubmit, handleCancel, isOpen }) => { |
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/components/WriteDialog/index.tsx
Outdated
name="text" | ||
type="text" | ||
multiline | ||
rows={15} |
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.
크기 좀 줄여도 될 거 같아요 리뷰나 신청멘트 쓰는 거라 그렇게 길지 않을 거 같아서요
신청 카드 이미지도 borderRadius 조정해주시면 좋을 거 같아요 그리고 뭔가 아웃라인이 있는 게 깔끔할 거 같습니당 그리고 width 쬐끔만 줄여주시면 더 이쁠 거 같아요 ~ |
리뷰 작성하기 버튼이랑 리뷰 글씨랑 줄 안 맞는 거 같은데 조정해주시면 좋을 거 같습니다! 그거 빼면 다 좋네용 |
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.
LGTM!
src/pages/Main/index.tsx
Outdated
review?: string; | ||
} | ||
|
||
const lendInfo: LendInfo = { |
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.
테스트한 건 빼고 머지해주세용
enqueueSnackbar(REVIEW_MESSAGE.REVIEW_NOT_FOUND, { variant: 'error' }); | ||
} | ||
} | ||
return null; |
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.
없어도 됩니다
그리고 혹시 옷장 아이콘 import CheckroomIcon from '@mui/icons-material/Checkroom'; 이걸로 변경 가능할까요? 이게 더 나을 거 같아서용 |
우선 리뷰작성팝업, 대여신청팝업을 위한 WriteDialog 컴포넌트를 만들었습니다.
메시지랑 placeholder 설정 가능합니다.