react-toastify
react-toastify copied to clipboard
A way to listen for autoClose complete event.
Is there a way to listen for autoClose event which will be different from onClose event? This is to know if the toastify timer was completed or cut short due to some event say “cancel an action “.
This would be great. Just a parameter mentioning the source of the close event would the job I suppose.
@Message-Akunna Did you solve this? I am having exactly the same problem!