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

Add hooks to show active toasts #418

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rizqitsani
Copy link
Contributor

Issue:

Closes #176

What has been done:

I have implemented this on #347 but it failed the test. This time, I fix the removeToast function to make it pass the test

  • Create useSonner hooks that returns active toasts

Screenshots/Videos:

image
Screen.Recording.2024-05-16.at.16.17.55.mov

Copy link

vercel bot commented May 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sonner ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2024 9:22am

@rizqitsani rizqitsani changed the title Feat/toast list hook Add hooks to show active toasts May 16, 2024
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.

How to get toast list?
1 participant