aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/shadcn/components/ui/sheet/sheet-title.svelte
blob: 1a285c752850a694a4faedf70b607d80e8e2a4ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<script>
	import { Dialog as SheetPrimitive } from "bits-ui";
	import { cn } from "$lib/shadcn/utils";
	let className = undefined;
	export { className as class };
</script>

<SheetPrimitive.Title
	class={cn("text-lg font-semibold text-foreground", className)}
	{...$$restProps}
>
	<slot />
</SheetPrimitive.Title>