timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.68k stars 323 forks source link

Ability to style toast.promise. #141

Closed DiscordAnaxes closed 2 years ago

DiscordAnaxes commented 2 years ago

Currently, I am using a toast.promise, and it would be nice if we had the option to style it, like the others (toast.success, etc).

I apologise in advance if there is an issue that has already been made about this.

timolins commented 2 years ago

Hi! There is a similar issue, where I proposed solution to this problem. Let me know if this works for you.

https://github.com/timolins/react-hot-toast/issues/67#issuecomment-983611798

DiscordAnaxes commented 2 years ago

Hi! Thank you for your quick response. I have added toastOptions to my Toaster component and it worked!

Thank you for your help.