21 lines
522 B
Svelte
21 lines
522 B
Svelte
<script lang="ts">
|
|
import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
|
|
import { cn } from '$lib/utils/format.js';
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: AlertDialogPrimitive.TitleProps = $props();
|
|
</script>
|
|
|
|
<AlertDialogPrimitive.Title
|
|
bind:ref
|
|
data-slot="alert-dialog-title"
|
|
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
|
|
)}
|
|
{...restProps}
|
|
/>
|