{#each tabs as tab (tab.id)} {@const active = tab.id === value} {/each}
{@render children?.(value)}