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
21 lines
446 B
Svelte
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>
|