2025-01-21 11:42:52 +02:00
|
|
|
<script lang="ts">
|
2025-01-22 14:25:24 +02:00
|
|
|
import type { WithElementRef } from 'bits-ui';
|
|
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
|
|
import { cn } from '$lib/utils.js';
|
2025-01-21 11:42:52 +02:00
|
|
|
|
|
|
|
let {
|
|
|
|
ref = $bindable(null),
|
|
|
|
class: className,
|
|
|
|
children,
|
|
|
|
...restProps
|
|
|
|
}: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
|
|
|
|
</script>
|
|
|
|
|
2025-01-22 14:25:24 +02:00
|
|
|
<div bind:this={ref} class={cn('flex flex-col space-y-1.5 p-6 pb-0', className)} {...restProps}>
|
2025-01-21 11:42:52 +02:00
|
|
|
{@render children?.()}
|
|
|
|
</div>
|