-
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: Date Picker 이벤트 발생 컴포넌트 변경 #442
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -18,7 +18,7 @@ export default function DateInput({ label, innerText, ...props }: DateInputProps | |||||||||||||||
}; | ||||||||||||||||
|
||||||||||||||||
return ( | ||||||||||||||||
<S.Container> | ||||||||||||||||
<S.Container onClick={handleIconClick}> | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 오 이벤트 버블링을 사용하셨군요! 멋집니다 👍 |
||||||||||||||||
<S.Wrapper> | ||||||||||||||||
<S.Label>{label}</S.Label> | ||||||||||||||||
<S.Text>{innerText}</S.Text> | ||||||||||||||||
|
@@ -33,7 +33,6 @@ export default function DateInput({ label, innerText, ...props }: DateInputProps | |||||||||||||||
outline={false} | ||||||||||||||||
size="sm" | ||||||||||||||||
color="white" | ||||||||||||||||
Comment on lines
33
to
35
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 중요한 부분 짚어주셨네용!! 감사합니다~ |
||||||||||||||||
onClick={handleIconClick} | ||||||||||||||||
> | ||||||||||||||||
<S.Icon> | ||||||||||||||||
<MdCalendarMonth size="2rem" /> | ||||||||||||||||
|
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.
버블링 이용 SMART 👍