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/component-svelte-fragment-n.../main.svelte

13 lines
187 B

<script>
import Child from './Child.svelte';
</script>
<Child>
<svelte:fragment>
Default
</svelte:fragment>
<svelte:fragment slot="b">
<p>B slot</p>
</svelte:fragment>
</Child>