Skip to main content

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,
});