2023-09-08 23:30:32 +00:00
|
|
|
<script lang="ts">
|
2024-02-26 06:59:29 +00:00
|
|
|
import * 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-02-26 06:59:29 +00:00
|
|
|
<FormPrimitive.Description
|
|
|
|
|
class={cn("text-sm text-muted-foreground", className)}
|
|
|
|
|
{...$$restProps}
|
|
|
|
|
let:descriptionAttrs
|
|
|
|
|
>
|
|
|
|
|
<slot {descriptionAttrs} />
|
2023-09-08 23:30:32 +00:00
|
|
|
</FormPrimitive.Description>
|