mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
18 lines
325 B
Vue
18 lines
325 B
Vue
|
|
<script setup lang="ts">
|
||
|
|
import { cn } from "@/lib/utils";
|
||
|
|
import type { HTMLAttributes } from "vue";
|
||
|
|
|
||
|
|
const props = defineProps<{
|
||
|
|
class?: HTMLAttributes["class"];
|
||
|
|
}>();
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<li
|
||
|
|
data-sidebar="menu-item"
|
||
|
|
:class="cn('group/menu-item relative', props.class)"
|
||
|
|
>
|
||
|
|
<slot />
|
||
|
|
</li>
|
||
|
|
</template>
|