18 lines
433 B
Vue
18 lines
433 B
Vue
<script setup>
|
|
import { SelectLabel } from "reka-ui";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps({
|
|
for: { type: String, required: false },
|
|
asChild: { type: Boolean, required: false },
|
|
as: { type: null, required: false },
|
|
class: { type: null, required: false },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<SelectLabel :class="cn('px-2 py-1.5 text-sm font-semibold', props.class)">
|
|
<slot />
|
|
</SelectLabel>
|
|
</template>
|