11 lines
198 B

<script>
export let foo = false;
export let a = 'a';
export let b = 'b';
export let bar = { baz: 'baz' };
import Widget from './Widget.svelte';
</script>
<Widget foo={foo ? a : b} {...bar}/>