flbxcup/resources/js/components/ui/sheet/sheet-title.svelte
2025-06-23 23:12:40 +02:00

17 lines
363 B
Svelte

<script lang="ts">
import { Dialog as SheetPrimitive } from "bits-ui";
import { cn } from "@/lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: SheetPrimitive.TitleProps = $props();
</script>
<SheetPrimitive.Title
bind:ref
data-slot="sheet-title"
class={cn("text-foreground font-semibold", className)}
{...restProps}
/>