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

[Feat] Observer Pattern을 통한 Toast Message 추가 #349

Merged
merged 19 commits into from
Dec 3, 2024

Conversation

seoko97
Copy link
Collaborator

@seoko97 seoko97 commented Dec 2, 2024

관련 이슈 번호

작업 내용

  • Toast 이벤트를 관리하는 ToastManager 구현
  • toast 메서드 실행시 ReactNode를 인자로 넘겨 렌더링 실행
  • 메시지 생성/종료 시점에 애니메이션 적용

PR 포인트

문서화를 진행하였습니다.

스크린샷

toast 함수의 인자로 ReactNode Type을 넘겨서 실행할 수 있습니다.

toast(<div className="text-red-600">Hello World</div>);
toast(<div className="text-blue-600">Hello World</div>);
화면 기록 2024-12-03 오전 12 01 34 화면 기록 2024-12-03 오전 12 01 16

@seoko97 seoko97 added FE Frontend 관련 작업 ✨ Feature 새로운 기능 추가 labels Dec 2, 2024
@seoko97 seoko97 self-assigned this Dec 2, 2024
@github-actions github-actions bot added the size/m label Dec 2, 2024
Copy link

github-actions bot commented Dec 2, 2024

🎨 스토리북 확인하기

Copy link
Collaborator

@simeunseo simeunseo left a comment

Choose a reason for hiding this comment

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

👍

@seoko97 seoko97 merged commit d45dd23 into develop Dec 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE Frontend 관련 작업 ✨ Feature 새로운 기능 추가 size/m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants