Files
gpx.studio/website/src/lib/components/ui/dialog/dialog-header.svelte

21 lines
431 B
Svelte
Raw Normal View History

2025-06-21 21:07:36 +02:00
<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import { cn, type WithElementRef } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
children,
...restProps
}: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
</script>
<div
bind:this={ref}
data-slot="dialog-header"
2026-04-06 18:22:01 +02:00
class={cn("gap-2 flex flex-col", className)}
2025-06-21 21:07:36 +02:00
{...restProps}
>
{@render children?.()}
</div>