flbxcup/resources/js/components/ui/form/form-description.svelte
2025-06-23 23:12:40 +02:00

17 lines
402 B
Svelte

<script lang="ts">
import * as FormPrimitive from "formsnap";
import { cn, type WithoutChild } from "@/lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: WithoutChild<FormPrimitive.DescriptionProps> = $props();
</script>
<FormPrimitive.Description
bind:ref
data-slot="form-description"
class={cn("text-muted-foreground text-sm", className)}
{...restProps}
/>