svelte/test/runtime/samples/context-api-b/main.svelte

13 lines
207 B

<script>
import Nested from './Nested.svelte';
import Leaf from './Leaf.svelte';
</script>
<Nested name='foo'>
<Nested name='bar'>
<Leaf/>
</Nested>
<Nested name='baz'>
<Leaf/>
</Nested>
</Nested>