mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-11 04:19:31 +00:00
15 lines
388 B
Vue
15 lines
388 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue";
|
|
import { type MenubarLabelProps } from "radix-vue";
|
|
|
|
const props = defineProps<
|
|
MenubarLabelProps & { class?: HTMLAttributes["class"]; inset?: boolean }
|
|
>();
|
|
</script>
|
|
|
|
<template>
|
|
<MenubarLabel :class="cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', props.class)">
|
|
<slot />
|
|
</MenubarLabel>
|
|
</template>
|