blob: 5514aa39fcb23e93d9a6793ef45d55f83f0b7ebf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
<script lang="ts">
import type { Snippet } from 'svelte';
let { title, children }: { title: string; children?: Snippet } = $props();
</script>
<section class="flex flex-col gap-1">
<h2 class="text-base font-medium">{title}</h2>
<div class="flex flex-wrap gap-1 text-gray-300">
{@render children?.()}
</div>
</section>
|