Skip to content
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

바텀시트 컴포넌트 개발 #33

Merged
merged 7 commits into from
Jul 16, 2024
Merged

Conversation

klmhyeonwoo
Copy link
Member

@klmhyeonwoo klmhyeonwoo commented Jul 14, 2024

바텀시트 컴포넌트 개발


🏄🏼‍♂️‍ Summary (요약)

  • 바텀시트 컴포넌트 개발
  • 바텀시트 데스크톱 이벤트 대응
  • 바텀시트 모바일 이벤트 대응

🫨 Describe your Change (변경사항)

  • src/component/BottomSheet/BottomSheet.tsx
  • src/component/BottomSheet/BottomSheetOption.ts
  • src/hooks/useBottomSheet.ts
  • src/component/BottomSheet/component/BottomSheetHeader.tsx
  • src/component/BottomSheet/component/BottomSheetContent.tsx
  • src/utils/externalStore/create.ts
  • src/utils/externalStore/hook.ts

🧐 Issue number and link (참고)

📚 Reference (참조)

const { openBottomSheet, bottomSheetState } = useBottomSheet();

/** `openBottomSheet` 메소드를 통해 바텀시트를 오픈할 수 있고, 이에 따른 상태 값은 `bottomSheetState`에서 확인할 수 있어요 */
<Button onClick={openBottomSheet}> 그냥 그저 그런 버튼 </Button>

/** 
* title : 바텀 시트의 제목을 의미해요
* contents : 바텀 시트의 내용을 의미해요 `JSX` 엘리먼트를 넣어 사용자가 구성할 수 있어요
* handler : 바텀 시트 터치 또는 마우스 이벤트를 통해 직접 움직일 수 있어요
*/

<BottomSheet
        title={"헬로우"}
        contents={
            <p> 완전 이거 럭키비키자냐?</p>
        }
        handler={true}
 />

@klmhyeonwoo klmhyeonwoo added the 🚀 feature New feature or request label Jul 14, 2024
@klmhyeonwoo klmhyeonwoo self-assigned this Jul 14, 2024
@klmhyeonwoo klmhyeonwoo marked this pull request as draft July 14, 2024 13:30
@klmhyeonwoo klmhyeonwoo marked this pull request as ready for review July 14, 2024 13:33
Copy link
Collaborator

@sean2337 sean2337 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!! 현우 최고!!🙌🙌

src/app/test/Staging.tsx Show resolved Hide resolved
src/component/BottomSheet/BottomSheet.tsx Show resolved Hide resolved
src/hooks/useBottomSheet.ts Show resolved Hide resolved
src/utils/externalStore/hook.ts Show resolved Hide resolved
Copy link
Member

@leeminhee119 leeminhee119 left a comment

Choose a reason for hiding this comment

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

크 고생 많으셨습니다 👏🍀

src/utils/externalStore/hook.ts Show resolved Hide resolved
@klmhyeonwoo klmhyeonwoo mentioned this pull request Jul 15, 2024
14 tasks
Copy link
Collaborator

@donghunee donghunee left a comment

Choose a reason for hiding this comment

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

워.. 고생하셨습니다~!!👍👍👍

@klmhyeonwoo klmhyeonwoo merged commit 1ea0202 into develop Jul 16, 2024
1 check failed
@klmhyeonwoo klmhyeonwoo deleted the feat/11/AddBottomSheet branch July 16, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants