mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-07-06 16:19:13 +00:00
feat: move structure
This commit is contained in:
parent
abe1d003c6
commit
0fa3061777
220 changed files with 116 additions and 67 deletions
16
web/src/lib/components/ui/form/form-description.svelte
Normal file
16
web/src/lib/components/ui/form/form-description.svelte
Normal file
|
@ -0,0 +1,16 @@
|
|||
<script lang="ts">
|
||||
import { Form as FormPrimitive } from 'formsnap';
|
||||
import { cn } from '$lib/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-[0.8rem] text-muted-foreground', className)}
|
||||
{...$$restProps}
|
||||
>
|
||||
<slot />
|
||||
</FormPrimitive.Description>
|
Loading…
Add table
Add a link
Reference in a new issue