-
Notifications
You must be signed in to change notification settings - Fork 3
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
Toast 구현 with Jotai #166
Toast 구현 with Jotai #166
Conversation
Bundle SizesCompared against be296b6
Dynamic import: No significant changes found |
Deploying with Cloudflare Pages
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #166 +/- ##
=======================================
Coverage 92.39% 92.39%
=======================================
Files 38 38
Lines 276 276
Branches 51 51
=======================================
Hits 255 255
Misses 21 21 ☔ View full report in Codecov by Sentry. |
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.
고생하셨습니다 👍🏻
전역상태 고려해주셔서 감사합니다 🙇
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 Toast = { | ||
Content, | ||
Text, | ||
}; | ||
|
||
export default Toast; |
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.
컴파운드 맛있다 !! 👍 👍
🤔 해결하려는 문제가 무엇인가요?
#91
🎉 변경 사항
Toast 컴포넌트를 Jotai로 구현했습니다.
🙏 여기는 꼭 봐주세요!
사용 방법
useToast의 fireToast로 toast를 띄울 수 있습니다.
아이콘과 문구가 동시에 들어가는 경우가 있는 것 같은데, 이때는
Toast.Text
컴포넌트를 사용해주세요~!그리고 CTA와 같이 있는 화면에서는
highterThanCTA
를 true로 주시면 좀 더 높은 위치에 띄워집니다~!🌄 스크린샷
📚 참고