clqms-shadcn-v1/src/lib/components/ui/card/card-title.svelte
2026-02-01 21:47:55 +07:00

19 lines
299 B
Svelte

<script>
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
children,
...restProps
} = $props();
</script>
<div
bind:this={ref}
data-slot="card-title"
class={cn("leading-none font-semibold", className)}
{...restProps}
>
{@render children?.()}
</div>