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>
|
|
|
|
|
<ul
|
2025-04-10 13:55:56 +02:00
|
|
|
data-slot="sidebar-menu-sub"
|
2024-11-30 00:58:04 +01:00
|
|
|
data-sidebar="menu-badge"
|
|
|
|
|
:class="cn(
|
2025-04-10 13:55:56 +02:00
|
|
|
'border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5',
|
2024-11-30 00:58:04 +01:00
|
|
|
'group-data-[collapsible=icon]:hidden',
|
|
|
|
|
props.class,
|
|
|
|
|
)"
|
|
|
|
|
>
|
|
|
|
|
<slot />
|
|
|
|
|
</ul>
|
|
|
|
|
</template>
|