You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/component-nested-deeper/Level2.svelte

14 lines
194 B

<script>
export let condition;
</script>
<div class="level2">
<h4>level 2</h4>
{#if condition}
<span>TRUE! <slot></slot></span>
{:else}
<span>FALSE! <slot></slot></span>
{/if}
</div>