{#if type === "link"} {@render children?.()} {:else} {/if}