2024-11-30 00:58:04 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import type { HTMLAttributes } from "vue";
|
2025-06-26 22:39:02 +02:00
|
|
|
import { cn } from "@/lib/utils";
|
2024-11-30 00:58:04 +01:00
|
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
|
class?: HTMLAttributes["class"];
|
|
|
|
|
}>();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2025-12-09 22:32:22 +01:00
|
|
|
<div
|
|
|
|
|
data-slot="sidebar-content"
|
|
|
|
|
data-sidebar="content"
|
|
|
|
|
:class="cn('flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden', props.class)"
|
|
|
|
|
>
|
2026-01-09 21:47:12 +01:00
|
|
|
<slot />
|
2025-12-09 22:32:22 +01:00
|
|
|
</div>
|
2024-11-30 00:58:04 +01:00
|
|
|
</template>
|