-
Notifications
You must be signed in to change notification settings - Fork 3
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/#61] time picker 공통 컴포넌트 추가 #73
Conversation
PR 작성하느라 고생 많았어요!! 라벨 잘 지정되었는지 확인 한 번 해 주기 🫶 |
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.
엄청난 TimePicker 파일,,,,,,,,,,, 고생 많았어욥 진짜 옆에서 보는데 너무 노가다라 보는 사람이 안쓰러웠을 정도............... 고생햇어요 🫶
src/App.tsx
Outdated
<RouterProvider router={router} /> | ||
<Alert /> | ||
<Confirm /> | ||
<LocalizationProvider dateAdapter={AdapterDayjs}> |
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.
p5) 드디어 제 자리를 찾아갔네요,,,,,,,,
src/pages/test/TestPage.tsx
Outdated
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.
p4) 이렇게 테스트 페이지에 계속 쌓으면 보기 힘드니까 새로운 테스트 페이지 임시로 생성하는 건 어떠신가요??
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 { PickersDay } from "@mui/x-date-pickers/PickersDay"; | ||
import * as S from "./TimePicker.styled"; | ||
import { useState } from "react"; | ||
import dayjs, { Dayjs } from "dayjs"; |
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.
p4) dayjs 친구는 사용하지 않는 것 같은데 지우는 게 어떨까요??
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.
p5) 네 지워주세용 ~
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.
지웠습니다!
} | ||
}; | ||
return ( | ||
<> |
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.
p4) S.CustomPicker가 다 감싸고 있어 빈 태그는 굳이 필요하지 않을 것 같아요!
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.
고생했어 ~
코멘트 확인하고 머지해줘!
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.
p4) 아래 링크 확인하고 dark Theme으로 바꿔줘!
https://jiwoothejay.notion.site/MUI-Theme-Dark-ed9fb67b922d488eb150d7ae82c23bad?pvs=25
import { PickersDay } from "@mui/x-date-pickers/PickersDay"; | ||
import * as S from "./TimePicker.styled"; | ||
import { useState } from "react"; | ||
import dayjs, { Dayjs } from "dayjs"; |
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.
p5) 네 지워주세용 ~
})); | ||
|
||
const TimePicker = ({ value, onChangeValue }: TimePickerProps) => { | ||
const [open, setOpen] = useState(false); |
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.
p5) 이 상태는 어떻게 사용되는 걸까요?
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.
|
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.
진짜 노가다네요.. 코드 자체를 슥 훑어봤는데 딱히 할 말 없습니다..
타임 피커.. 쉽지 않아보이는데 고생 많으셨어요~..
TODO: 배포 상태에서 시간 선택 색상 이상함 -> 배포 상태에서 테스트 |
📌 관련 이슈번호
🎟️ PR 유형
어떤 변경 사항이 있나요?
✅ Key Changes
📢 To Reviewers
📸 스크린샷
🔗 참고 자료
https://stackoverflow.com/questions/75043733/styling-the-datepicker-from-mui
https://velog.io/@kangactor123/mui-v5-custom
https://mui.com/x/api/date-pickers/desktop-time-picker/
https://mui.com/x/api/date-pickers/desktop-time-picker/