mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-03 02:11:20 +00:00
16 lines
424 B
Svelte
16 lines
424 B
Svelte
<script lang="ts">
|
|
import * as FormPrimitive from 'formsnap';
|
|
import { cn } from '$lib/utils';
|
|
|
|
type $$Props = FormPrimitive.DescriptionProps;
|
|
let className: $$Props['class'] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<FormPrimitive.Description
|
|
class={cn('text-[0.8rem] text-muted-foreground', className)}
|
|
{...$$restProps}
|
|
let:descriptionAttrs
|
|
>
|
|
<slot {descriptionAttrs} />
|
|
</FormPrimitive.Description>
|