-
Notifications
You must be signed in to change notification settings - Fork 4
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
[온보딩페이지] Step01 기본적 기능 구현 #62
Conversation
또한 인풋창을 감싸고 있는 div에 속성을 주어 값이 입력되었을 때 빨간색 밑줄 처리 하였습니다
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.
확인 했습니다 ! mixin 관련 부분만 한번 확인 부탁드려요 !
`; | ||
|
||
export const Input = styled.input<{ hasContent?: boolean; maxLengthReached?: boolean }>` | ||
${({ theme }) => theme.mixin.flexBox('flex-center', 'center')}; |
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.
mixin 관련 부분 저번 pr 과 같이 확인을 한번 해보면 좋을 거 같아요 !!
계속 이렇게 쓰이는걸 보면, 잘 적용 되는거 같긴한데, 아마 이렇게 넘겨지는 값들에 key값을 적어주지 않게 되면 순서대로 적용이 될텐데, 추후 확장성을 위한 코드가 되진 않을 거 같다고 판단했어요
추가적으로 flex-center라는 코드를 한번 더 보면, 그냥 center를 의미하려던게 아닌가 생각했습니다 !확인 부탁드려요 !
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.
아 이 부분 전에 올린 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.
확인했습니다! 수정하면서 theme 같은 부분도 같이 수정하셨네요 최고👍 호은님 리뷰 부분만 확인해서 반영하고 머지하면 될 것 같아요:) 고생하셨습니다!!
hasContent={text.length > 0} | ||
maxLengthReached={text.length === 10} | ||
/> | ||
<S.Wrapper hasContent={text.length > 0} maxLengthReached={text.length === 10}> |
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.
wrapper는 명확하게 무엇을 감싸고 있는지 네이밍 해주면 더 가독성 좋은 코드가 될 것 같아요 이부분은 이제 NameInputWrapper 가 될 수 있을 것 같아요!
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.
좀 전 PR에서 리마인드 완전 감사합니다!! 아까 PR에서 컨벤션 맞추는 커밋 진행하였습니다!!
이슈 넘버
구현 사항
Need Review
step01에 기본적인 기능 구현하였습니다
ex) x 아이콘 클릭 시 인풋창 전체 값 삭제, 글자를 입력했을 시에만 보이게 설정 등
📸 스크린샷
Reference