RobotFrontend / src /lib /components /ui /alert-dialog /alert-dialog-title.svelte
blanchon's picture
Initial commit
ebcc4b8
raw
history blame contribute delete
384 Bytes
<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-lg font-semibold", className)}
{...restProps}
/>