Files
leim-tools/components/ui/select/SelectLabel.vue
2024-08-25 14:14:40 +02:00

14 lines
395 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { SelectLabel, type SelectLabelProps } from "radix-vue"
import { cn } from "@/lib/utils"
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes["class"] }>()
</script>
<template>
<SelectLabel :class="cn('py-1.5 pl-8 pr-2 text-sm font-semibold', props.class)">
<slot />
</SelectLabel>
</template>