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: add toast.warn() function #168

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

Conversation

JosteinKringlen
Copy link

@JosteinKringlen JosteinKringlen commented Apr 12, 2022

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 :)

warn demo

See #29

@vercel
Copy link

vercel bot commented Apr 12, 2022

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

@JosteinKringlen JosteinKringlen changed the title feat: add toaster.warn() function feat: add toast.warn() function Apr 12, 2022
@chrisrobbins
Copy link

chrisrobbins commented Jun 8, 2022

This would be great if we could have these options soon. Is there any progress here? @timolins

@vercel
Copy link

vercel bot commented Jul 17, 2022

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)

@qlaffont
Copy link

Any update on this PR ?

@qlaffont
Copy link

qlaffont commented Nov 4, 2022

@timolins ?

@sbahman
Copy link

sbahman commented Jan 17, 2023

I would be very interested in this feature - will this be merged soon?
@timolins

@asifsaho
Copy link

asifsaho commented Feb 8, 2023

What it is waiting for? we need this!

@yudielcurbelo
Copy link

Anything on this?

@nicogulo
Copy link

hallo there, any update for this?

@msalahz
Copy link

msalahz commented May 31, 2023

I need this feature, so please merge ASAP

@prince272
Copy link

It's being a while now.

@asifsaho
Copy link

This is unfortunate, @JosteinKringlen, would you like to fork and make a custom one?

@givvemee
Copy link

Any update here?

@Erym974
Copy link

Erym974 commented Mar 7, 2024

Up ?

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.

None yet