1<script lang="ts">
2 import type { HTMLAttributes } from 'svelte/elements';
3 import { cn, type WithElementRef } from '$lib/components/ui/utils';
4
5 let {
6 ref = $bindable(null),
7 class: className,
8 children,
9 ...restProps
10 }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
11</script>
12
13<div bind:this={ref} data-slot="card-content" class={cn('px-6', className)} {...restProps}>
14 {@render children?.()}
15</div>