react-hot-toast
react-hot-toast copied to clipboard
feat: add toast.warn() function
I saw a couple of comments regarding extending toast
with warn
and info
, and thought I'd give toast.warn()
a go :) The warn
fn works the same way as error
and success
, 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 with warn
:)
See #29
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/timo/react-hot-toast/GVhL9RwpdADgFZYYz7CxiUs1JTS4
✅ Preview: https://react-hot-toast-git-fork-josteinkringlen-feat-addw-f88f45-timo1.vercel.app
This would be great if we could have these options soon. Is there any progress here? @timolins
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
react-hot-toast | ✅ Ready (Inspect) | Visit Preview | Jul 17, 2022 at 0:46AM (UTC) |
Any update on this PR ?
@timolins ?
I would be very interested in this feature - will this be merged soon? @timolins
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?