mirror of https://github.com/sveltejs/svelte
parent
ee2f74ebf3
commit
cd5e2ee6a5
@ -0,0 +1,5 @@
|
||||
<script lang="ts">
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
{@render children?.()}
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: 'test'
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import Component from "./Component.svelte";
|
||||
</script>
|
||||
|
||||
<Component>test</Component>
|
||||
Loading…
Reference in new issue