Files
BRETT/app/components/ui/command/CommandShortcut.vue
T
2026-10-03 20:07:49 +02:00

18 lines
408 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from 'vue'
import { cn } from '@/lib/utils'
const props = defineProps<{
class?: HTMLAttributes['class']
}>()
</script>
<template>
<span
data-slot="command-shortcut"
:class="cn('text-muted-foreground group-data-highlighted/command-item:text-foreground ml-auto text-xs tracking-widest', props.class)"
>
<slot />
</span>
</template>