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