1<script lang="ts">
 2	import type { HTMLAttributes } from 'svelte/elements';
 3	import { cn, type WithElementRef } from '$lib/components/ui/utils.js';
 4
 5	let {
 6		ref = $bindable(null),
 7		class: className,
 8		children,
 9		...restProps
10	}: WithElementRef<HTMLAttributes<HTMLElement>> = $props();
11</script>
12
13<div
14	bind:this={ref}
15	data-slot="sidebar-content"
16	data-sidebar="content"
17	class={cn(
18		'flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden',
19		className
20	)}
21	{...restProps}
22>
23	{@render children?.()}
24</div>