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,
|
|
|
|
|
...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
|
2025-06-21 21:07:36 +02:00
|
|
|
data-slot="alert-dialog-title"
|
2026-04-06 18:22:01 +02:00
|
|
|
class={cn("text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", className)}
|
2025-06-08 16:32:41 +02:00
|
|
|
{...restProps}
|
|
|
|
|
/>
|