-
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] 모각코 게시글 작성 페이지 퍼블리싱 #137
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.
제목 부분 디자인이랑 다른데 어떻게 구현할까요?
const [inputCount, setInputCount] = useState<number>(0); | ||
const inputRef = useRef<HTMLInputElement | null>(null); | ||
|
||
const handleInput = () => { | ||
if (inputRef && inputRef.current) { | ||
setInputCount(inputRef.current.value.length); | ||
} | ||
}; | ||
|
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.
p3; 이 부분도 아마 react-hook-form 적용하면서 props로 받아서 처리할 수 있게 바뀔 것 같네요!
a52971a
to
e8dd261
Compare
min?: number | string; | ||
max?: number; |
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.
p3; input type이 여러 가지가 될 수 있으니 props가 복잡해질 수도 있겠군요. 타입스크립트를 잘 적용할 수 있다면 type에 따라서도 props를 활용할 수 있지 않을까 싶네요. 한번 찾아봐야겠어요
372016a
to
4f66d57
Compare
기본값으로 현재 시각 표시, 오늘 날짜 이후로 선택 가능하도록 제한
rows 속성을 props로 받아서 사용하도록 수정
dayjs 사용
54cec74
to
132ee83
Compare
설명
완료한 기능 명세
스크린샷
_2023_11_22_18_07_58_139.mp4
리뷰 요청 사항