{#each tabs as tab, i}
selectTab(i)} > {tab}
{/each}
{#if showCloseIcon}
{/if}