2025-02-04 00:37:14 +00:00
|
|
|
<script lang="ts">
|
2025-05-08 16:07:24 +00:00
|
|
|
import type {Snippet} from "svelte"
|
|
|
|
|
|
2025-02-04 00:37:14 +00:00
|
|
|
interface Props {
|
2025-05-08 16:07:24 +00:00
|
|
|
children?: Snippet
|
2025-02-04 00:37:14 +00:00
|
|
|
}
|
|
|
|
|
|
2025-05-08 16:07:24 +00:00
|
|
|
const {children, ...props}: Props = $props()
|
2025-02-04 00:37:14 +00:00
|
|
|
</script>
|
|
|
|
|
|
2026-06-24 20:56:53 +00:00
|
|
|
<div class="flex items-center gap-2 p-2 text-xs uppercase text-subtle">
|
|
|
|
|
<div class="h-px grow" style="background-color: var(--line)"></div>
|
2025-02-04 00:37:14 +00:00
|
|
|
{#if children}
|
|
|
|
|
<p>{@render children?.()}</p>
|
2026-06-24 20:56:53 +00:00
|
|
|
<div class="h-px grow" style="background-color: var(--line)"></div>
|
2024-10-21 20:18:48 +00:00
|
|
|
{/if}
|
2024-09-20 18:00:41 +00:00
|
|
|
</div>
|