<script>
	export let foo;
</script>

{#if foo}
	<slot></slot>
{/if}