component Toast { outputs { dismiss(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) action(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) } props { size: string = "default" color: string = "primary" title: string = "Toast" description: string = "" items: unknown[] = [] variant: string = "default" class: string = "" } view {
{#if title}{title}{/if} {#if description}

{description}

{/if} {#if items}
{#each items as item}{item.label}{/each}
{/if}
} }