render children
This commit is contained in:
parent
7e9352e9ad
commit
4aaacde3df
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
<script lang="ts">
|
||||
import Navbar from '$lib/components/Navbar.svelte';
|
||||
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
<Navbar title="Svelte" />
|
||||
{@render children()}
|
||||
Loading…
Add table
Reference in a new issue