Files
svelte-5-static-shadcn-temp…/src/lib/components/ui/card/card-description.svelte
Simon Malm 9b257f4b9b
Some checks failed
CI / build (push) Has been cancelled
CI / security (push) Has been cancelled
CI / test (22) (push) Has been cancelled
CI / test (20) (push) Has been cancelled
Gitea CI / test (push) Has been cancelled
Gitea CI / docker-build (push) Has been cancelled
Deploy / build-and-deploy (push) Has been cancelled
Deploy / docker-build (push) Has been cancelled
feat: first
2025-08-13 20:11:07 +02:00

21 lines
446 B
Svelte

<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import { cn, type WithElementRef } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
children,
...restProps
}: WithElementRef<HTMLAttributes<HTMLParagraphElement>> = $props();
</script>
<p
bind:this={ref}
data-slot="card-description"
class={cn("text-muted-foreground text-sm", className)}
{...restProps}
>
{@render children?.()}
</p>