mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
17 lines
447 B
Svelte
17 lines
447 B
Svelte
|
|
<script lang="ts">
|
||
|
|
import { Form as FormPrimitive } from "formsnap";
|
||
|
|
import { cn } from "@/utils";
|
||
|
|
import type { HTMLAttributes } from "svelte/elements";
|
||
|
|
|
||
|
|
type $$Props = HTMLAttributes<HTMLSpanElement>;
|
||
|
|
let className: string | undefined | null = undefined;
|
||
|
|
export { className as class };
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<FormPrimitive.Description
|
||
|
|
class={cn("text-sm text-muted-foreground", className)}
|
||
|
|
{...$$restProps}
|
||
|
|
>
|
||
|
|
<slot />
|
||
|
|
</FormPrimitive.Description>
|