{#each $toasts as toast (toast.id)}
dismissToast(toast)}>
{#if toast.type === ToastType.INFO}
{:else}
{/if}
{#if toast.title}
{toast.title}
{/if}
{trim(toast.message)}
{/each}