{#each tabs as tab, i}
setTab(tab.id)} on:keydown={(e) => onKeyDown(e, tab)} > {tab.label}
{/each}