1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-27 00:59:37 +02:00
it-tools/packages/app/src/modules/ui/components/dropdown-menu/DropdownMenuShortcut.vue

15 lines
327 B
Vue
Raw Normal View History

2024-10-24 21:05:54 +02:00
<script setup lang="ts">
2024-10-27 15:02:54 +01:00
import type { HTMLAttributes } from 'vue';
import { cn } from '@/src/modules/shared/style/cn';
2024-10-24 21:05:54 +02:00
const props = defineProps<{
2024-10-27 15:02:54 +01:00
class?: HTMLAttributes['class'];
}>();
2024-10-24 21:05:54 +02:00
</script>
<template>
<span :class="cn('ml-auto text-xs tracking-widest opacity-60', props.class)">
<slot />
</span>
</template>