Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
⚙️ PR 타입
✨ 기능 설명 or 🚨 문제 상황
하단에서 올라오는 모달 구현했습니다.
👨💻 구현 내용 or 👍 해결 내용
하단 모달 슬라이드 컴포넌트를 렌더링하면 아래에서 위로 애니메이션과 함께 화면에 출력됩니다.
모달 슬라이드 내부에 원하는 컴포넌트를 child로 렌더링 할 수 있습니다.
모달 밖 영역을 클릭하면 모달이 닫힙니다.
모달을 위에서 아래로 스크롤하면 모달이 닫힙니다. - 이를 위해서 커스텀 훅을 구현했습니다.
모달이 사라질 때 아래로 사라지는 애니메이션은 구현하지 못했습니다.
🎯 PR 포인트
사용 예시
📝 참고 사항
수정할 부분 있으면 알려주세요!
모달이 사라질 때 아래로 사라지는 애니메이션 구현 방법 알고 있으시면 알려주세요!
❓ 궁금한 점
#27 close