Closed AmirHosseinKarimi closed 3 years ago
You are right, toasts are currently not dismissable by default. You'd have to implement your own close button for now. You can read more about it here: https://react-hot-toast.com/docs/toast-bar#add-custom-content
I have plans to add a default dismiss option. The related issue is #7.
@timolins I still don't see any option for closing on click.
Hi, Looks like when set duration of toast (for my case
toast.error()
) it's not dismiss-able by click on toast.