{#if leftUrl && leftUrl != ""} {@const props = { slot: "first" }} Left {/if} {#if rightUrl && leftUrl != ""} {@const props = { slot: "second" }} Right {/if}