You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>