Open DSHINDE21 opened 4 months ago
We can attach an onClick event to the icons in a toast. For instance, when using toast.error, clicking on the cross icon allows us to close the toast.
We can attach an onClick event to the icons in a toast. For instance, when using toast.error, clicking on the cross icon allows us to close the toast.