Skip to content

Conversation

@hongggyelim
Copy link
Collaborator

@hongggyelim hongggyelim commented Nov 8, 2024

공유사항

  • zustand 추가했습니다
  • 리액트 18버전으로 수정했습니다 (zustand 충돌)
  • bindCls() 함수 : 테일윈드 클래스명 조건부 적용 등에 사용

작업 내용

  • useModalStore : 모달과 관련하여 관리할 상태와 수행할 동작을 정의했습니다
  • ModalManager : openModal에서 호출하는 modalType에 따라 <Modal/ > 컴포넌트에서 개별 모달을 렌더링합니다.
  • 사용 예 : /test 페이지
    image
    (Switch컴포넌트 이름을 Modal로 수정했습니다. )
  • 모달 제외한 바깥쪽 (backdrop) 클릭 시 모달 닫힘 구현
  • 모달 모바일 크기 수정 및 반응형 디자인 추가 (기존 360px -> 300px, md:360px)
  • [linkbrary 모달 기능 (modal store) 구현 #30 ]

@hongggyelim hongggyelim linked an issue Nov 8, 2024 that may be closed by this pull request
Copy link
Collaborator

@venise5224 venise5224 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

잘 써보겠습니다
수고하셨습니다

Copy link
Collaborator

@99minji 99minji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

@hongggyelim hongggyelim merged commit 8f8bf27 into develop Nov 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

모달 기능 (modal store) 구현

4 participants