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

20 lines
405 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
:class="cn(
'text-muted-foreground gap-2 text-sm [&_svg:not([class*=size-])]:size-4 flex items-center [&_svg]:pointer-events-none',
props.class,
)"
>
<slot />
</span>
</template>