{#each tabs as { title }, index}
activeTab = index} > {title}
{/each}
{#each tabs as { Content, props }, index}
{/each}