2023-09-08 23:30:32 +00:00
|
|
|
<script lang="ts">
|
2024-11-09 19:05:28 +00:00
|
|
|
import * as FormPrimitive from "formsnap";
|
|
|
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
|
|
|
import { cn } from "$lib/utils/ui.js";
|
2023-09-08 23:30:32 +00:00
|
|
|
|
|
|
|
|
type $$Props = HTMLAttributes<HTMLSpanElement>;
|
|
|
|
|
let className: string | undefined | null = undefined;
|
|
|
|
|
export { className as class };
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-02-26 06:59:29 +00:00
|
|
|
<FormPrimitive.Description
|
2024-08-19 03:28:15 +00:00
|
|
|
class={cn("text-muted-foreground text-sm", className)}
|
2024-02-26 06:59:29 +00:00
|
|
|
{...$$restProps}
|
|
|
|
|
let:descriptionAttrs
|
|
|
|
|
>
|
|
|
|
|
<slot {descriptionAttrs} />
|
2023-09-08 23:30:32 +00:00
|
|
|
</FormPrimitive.Description>
|