{#each tabs as tab (tab.id)}
startEditing(tab)} onclick={() => onSelect(tab.id)} > {#if editingId === tab.id}
e.stopPropagation()} onkeydown={onKeydown} type="text" /> {:else}
{tab.title}
{/if} {#if extras}{@render extras({ tab })}{/if}
handleClose(e, tab.id)} >×
{/each}
+