In Svelte 5, how can I wrap each child with a tag like the example below?
{#if children} {#each children as child}<button onclick={() => { handleClick(); }}> {@render child?.()}</button> {/each}{/if}
In Svelte 5, how can I wrap each child with a tag like the example below?
{#if children} {#each children as child}<button onclick={() => { handleClick(); }}> {@render child?.()}</button> {/each}{/if}