{#if toastData.type === ToastType.Success} {:else if toastData.type === ToastType.Error} {:else} {/if}
{toastData.text}
{#if toastData.dismissable} {/if}