{#if secondaryButtons.length > 0} {#each secondaryButtons as button} {/each} {:else if secondaryButtonText} {/if} {#if primaryButtonText} {/if}