Hide After
toastify-react hides after 3 secs by default. We can change it using hideAfter
Usage
toaster.success('This success message will hide after 2 secs.', {
hideAfter: 2,
});
toastify-react hides after 3 secs by default. We can change it using hideAfter
toaster.success('This success message will hide after 2 secs.', {
hideAfter: 2,
});