{#each tabs as tab}
{tab.label} {#if currentTab === tab.value}
{/if}
{/each}