Initial commit: Hermes Chat App with Svelte 5 + shadcn-svelte
This commit is contained in:
8
src/lib/components/ui/card/card-description.svelte
Normal file
8
src/lib/components/ui/card/card-description.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { cn } from "$lib/utils.js";
|
||||
import type { HTMLAttributes } from "svelte/elements";
|
||||
let { class: className = "", children, ...rest }: HTMLAttributes<HTMLParagraphElement> = $props();
|
||||
</script>
|
||||
<p class={cn("text-sm text-muted-foreground", className)} {...rest}>
|
||||
{@render children?.()}
|
||||
</p>
|
||||
Reference in New Issue
Block a user