{#if $isFreePlan} {#snippet child({ props })} { onClick(); openUpgradeModal(); }} > {@render children?.()} {/snippet} {/if}