Files
Caramel-CRM/resources/js/components/ui/sidebar/SidebarMenuSub.vue
T

22 lines
455 B
Vue
Raw Normal View History

2025-10-20 08:57:51 +02:00
<script setup lang="ts">
2026-02-17 10:35:03 +01:00
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
2025-10-20 08:57:51 +02:00
const props = defineProps<{
2026-02-17 10:35:03 +01:00
class?: HTMLAttributes["class"]
2025-10-20 08:57:51 +02:00
}>()
</script>
<template>
<ul
data-sidebar="menu-badge"
:class="cn(
2026-02-17 10:35:03 +01:00
'mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5',
2025-10-20 08:57:51 +02:00
'group-data-[collapsible=icon]:hidden',
props.class,
)"
>
<slot />
</ul>
</template>