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-slot-nested-in-slot/main.svelte

9 lines
168 B

<script>
import One from './One.svelte';
export let a = 1;
export let b = 2;
</script>
<One {a} {b}>
<p slot='one' let:one let:two>one: {one} two: {two}</p>
</One>