DropdownMenuShortcut.vue 378 B

1234567891011121314151617
  1. <script setup lang="ts">
  2. import type { HTMLAttributes } from "vue"
  3. import { cn } from '@/Packages/Shadcn/Lib/utils'
  4. const props = defineProps<{
  5. class?: HTMLAttributes["class"]
  6. }>()
  7. </script>
  8. <template>
  9. <span
  10. data-slot="dropdown-menu-shortcut"
  11. :class="cn('text-muted-foreground ml-auto text-xs tracking-widest', props.class)"
  12. >
  13. <slot />
  14. </span>
  15. </template>