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

19 lines
374 B
Svelte
Raw Normal View History

2024-07-15 13:19:56 +02:00
<script lang="ts">
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
2025-06-08 16:32:41 +02:00
let {
ref = $bindable(null),
class: className,
level = 3,
...restProps
}: AlertDialogPrimitive.TitleProps = $props();
2024-07-15 13:19:56 +02:00
</script>
2025-06-08 16:32:41 +02:00
<AlertDialogPrimitive.Title
bind:ref
class={cn("text-lg font-semibold", className)}
{level}
{...restProps}
/>