All checks were successful
Test and deploy staging / staging (push) Successful in 11m52s
24 lines
499 B
Svelte
24 lines
499 B
Svelte
<script lang="ts">
|
|
import { cn, type WithElementRef } from '$lib/utils.js';
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
children,
|
|
...restProps
|
|
}: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
|
|
</script>
|
|
|
|
<div
|
|
bind:this={ref}
|
|
data-slot="card-footer"
|
|
class={cn(
|
|
'rounded-b-xl px-(--card-spacing) [.border-t]:pt-(--card-spacing) flex items-center',
|
|
className
|
|
)}
|
|
{...restProps}
|
|
>
|
|
{@render children?.()}
|
|
</div>
|