{#each tabs as tab, i (tab.id)}
onSelect(tab.id)} onkeydown={(e) => onKeydown(e, i)} > {i18n.t(tab.key)}
{/each}