mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-21 11:01:18 +00:00
18 lines
508 B
Svelte
18 lines
508 B
Svelte
<script lang="ts">
|
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils.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}
|
|
/>
|