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
Hi! I have a question about dismissing the notification. You have an example of 'Rich content' toast: <span> Custom and <b>bold</b> <button on:click={() => toast_.dismiss(toast.id)}>Dismiss</button> </span>
and advice to use toast such this: toast(RichContent). But can I use RichContent component with my custom message property like this: toast()? Or are there any alternatives to have dismiss button (e.g. dismiss property in options object: true with default Icon like toast.error(message, { style: ..., position: ...., **dismiss: true,** });)
Thank you in advance
The text was updated successfully, but these errors were encountered:
Hi! I have a question about dismissing the notification. You have an example of 'Rich content' toast:
<span> Custom and <b>bold</b> <button on:click={() => toast_.dismiss(toast.id)}>Dismiss</button> </span>
and advice to use toast such this: toast(RichContent). But can I use RichContent component with my custom message property like this: toast()? Or are there any alternatives to have dismiss button (e.g. dismiss property in options object: true with default Icon like
toast.error(message, { style: ..., position: ...., **dismiss: true,** });
)Thank you in advance
The text was updated successfully, but these errors were encountered: