{#if href} {@render children?.()} {#if icon} {@const Icon = icon} {/if} {:else} {@render children?.()} {#if icon} {@const Icon = icon} {/if} {/if}