forked from coracle/flotilla
Rework modal header structure
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<script lang="ts">
|
||||
import type {Snippet} from "svelte"
|
||||
|
||||
interface Props {
|
||||
children: Snippet
|
||||
}
|
||||
|
||||
const {children}: Props = $props()
|
||||
</script>
|
||||
|
||||
<h1 class="heading">{@render children()}</h1>
|
||||
Reference in New Issue
Block a user