frontend/components/ui/select/SelectLabel.vue

16 lines
403 B
Vue
Raw Normal View History

<script setup lang="ts">
import { cn } from "@/lib/utils";
import { SelectLabel, type SelectLabelProps } from "reka-ui";
import type { HTMLAttributes } from "vue";
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>