mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-28 10:16:37 +00:00
18 lines
533 B
Svelte
18 lines
533 B
Svelte
<script lang="ts">
|
|
import * as FormPrimitive from 'formsnap';
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
import { cn } from '$lib/utils/style.js';
|
|
|
|
type $$Props = HTMLAttributes<HTMLSpanElement> & { class?: string | null | undefined };
|
|
let className: string | undefined | null = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<FormPrimitive.Description
|
|
class={cn('text-sm text-muted-foreground', className)}
|
|
{...$$restProps}
|
|
let:descriptionAttrs
|
|
>
|
|
<slot {descriptionAttrs} />
|
|
</FormPrimitive.Description>
|