react-hot-toast icon indicating copy to clipboard operation
react-hot-toast copied to clipboard

Feature Requests for warning and max toast

Open yeasin2002 opened this issue 1 year ago • 3 comments

First of all, thanks for this awesome library. After knowing about his library, I literally stopped using other toasting libraries. But i feel something missing. And that think is warning toast. i think it will be great if you add warning toast.

for example:

toast.warning("This is warning toast")

And also, I think it would be great if you could add an option to Max Toast. For example: Max: 3. In that cause if i have 3 toast and i want to show another toast then it will remove the first toast and show the new toast.

Here it's creating a problem for me.

image

yeasin2002 avatar Jan 27 '24 17:01 yeasin2002

Would love to see Warning and Info Toasters😍

CodeMasterZeroOne avatar Sep 20 '24 15:09 CodeMasterZeroOne

Just adding to the noise that I would also like to see the addition of a warning toast.

git-randy avatar Mar 19 '25 22:03 git-randy

https://github.com/timolins/react-hot-toast/issues/289#issuecomment-1595928143

Check this issue ticket you can write custom logic to resolve this issue