Files
template-vue-hucky/src/components/ui/native-select/NativeSelectOption.vue
2026-01-31 02:54:00 +08:00

19 lines
426 B
Vue

<!-- @fallthroughAttributes true -->
<!-- @strictTemplates true -->
<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { cn } from "@/lib/utils";
const props = defineProps<{ class?: HTMLAttributes["class"] }>();
</script>
<template>
<option
data-slot="native-select-option"
:class="cn('bg-popover text-popover-foreground text-black', props.class)"
>
<slot />
</option>
</template>