svelte/test/runtime/samples/if-block/main.svelte

8 lines
82 B

<script>
export let visible;
</script>
{#if visible}
<p>i am visible</p>
{/if}