2023-09-08 23:30:32 +00:00
|
|
|
<script lang="ts">
|
|
|
|
|
import { Form as FormPrimitive } from "formsnap";
|
2023-11-07 00:36:51 +00:00
|
|
|
import { cn } from "$lib/utils";
|
2023-09-08 23:30:32 +00:00
|
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
|
|
|
|
|
|
|
|
type $$Props = HTMLAttributes<HTMLSpanElement>;
|
|
|
|
|
let className: string | undefined | null = undefined;
|
|
|
|
|
export { className as class };
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-01-27 00:35:02 +00:00
|
|
|
<FormPrimitive.Description class={cn("text-sm text-muted-foreground", className)} {...$$restProps}>
|
2023-09-08 23:30:32 +00:00
|
|
|
<slot />
|
|
|
|
|
</FormPrimitive.Description>
|