-
Notifications
You must be signed in to change notification settings - Fork 3
feat(마이페이지): 내 정보 조회 및 수정 페이지 UI 통일 #60
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
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.
몇가지 리뷰 남겼는데 확인 부탁드립니다
<input | ||
ref={ref} | ||
id={id} | ||
className={cn(inputStyle, inputClassName)} |
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.
className={cn(inputStyle, inputClassName)} | |
className={cn(inputStyle, inputClassName, className)} |
상위 props 에서 className
을 �선언해서 위와 같이 사용하면 사용할때 className 으로 전달한 스타일이 적용되는 구조로 하면 확장성있는 구조가 될거 같습니다
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.
input 태그한테는 그게 inputClassName 이 그역할을 하긴 합니다. p Tag 에는 그 역할이 현재는 필요 없어요
그래도 일단 p 태그한테는 추가했습니다!
frontend/zicdding-class.com/app/(user)/my/_components/MyInfo.tsx
Outdated
Show resolved
Hide resolved
요새 잠을 주말에도 4시간 씩 자서 지금이라도 올렸습니다..! ㅠㅠ |
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.
바쁘셨을텐데 수고하셨습니다.
2024-12-09.12.31.35.mov