-
Notifications
You must be signed in to change notification settings - Fork 356
feat: add toast.warn() function #168
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
base: main
Are you sure you want to change the base?
feat: add toast.warn() function #168
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/timo/react-hot-toast/GVhL9RwpdADgFZYYz7CxiUs1JTS4 |
|
This would be great if we could have these options soon. Is there any progress here? @timolins |
df0faf1 to
f9b4896
Compare
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Any update on this PR ? |
|
I would be very interested in this feature - will this be merged soon? |
|
What it is waiting for? we need this! |
|
Anything on this? |
|
hallo there, any update for this? |
|
I need this feature, so please merge ASAP |
|
It's being a while now. |
|
This is unfortunate, @JosteinKringlen, would you like to fork and make a custom one? |
|
Any update here? |
|
Up ? |
|
I need this feature |
|
+1 |
|
@timolins can we please merge this? |
I saw a couple of comments regarding extending
toastwithwarnandinfo, and thought I'd givetoast.warn()a go :) Thewarnfn works the same way aserrorandsuccess, and will by default render a toast with a yellow+black icon for 3 seconds.I'll probably also take a look at
toast.info()after I'm done withwarn:)See #29