You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toastr returns a reference to the resulting toastr object when you e.g. toastr.info(...), however, as far as I can tell there is no way to get this reference using react-toastr. Here is the relevant source: https://github.com/CodeSeven/toastr/blob/master/toastr.js#L69
It would be useful to be able to get a reference to the toast instance so we can do things such as pop a "Saving, please wait..." toast, and then destroy it and pop a "Your thing was successfully saved!" toast. Is it possible?
The text was updated successfully, but these errors were encountered:
toastr
returns a reference to the resulting toastr object when you e.g.toastr.info(...)
, however, as far as I can tell there is no way to get this reference usingreact-toastr
. Here is the relevant source: https://github.com/CodeSeven/toastr/blob/master/toastr.js#L69It would be useful to be able to get a reference to the toast instance so we can do things such as pop a "Saving, please wait..." toast, and then destroy it and pop a "Your thing was successfully saved!" toast. Is it possible?
The text was updated successfully, but these errors were encountered: