<script>
	export let foo;
</script>

{#if foo}
	<p>foo!</p>
{/if}