Files
Aether/frontend/src/components/ui/select-value.vue
fawney19 c2eaa9181a refactor(frontend): 优化 UI 基础组件
- 添加默认 class 属性支持
- 改进组件类型定义
- 优化属性配置
2025-12-14 00:16:02 +08:00

16 lines
280 B
Vue

<script setup lang="ts">
import { SelectValue as SelectValuePrimitive } from 'radix-vue'
interface Props {
placeholder?: string
}
defineProps<Props>()
</script>
<template>
<SelectValuePrimitive :placeholder="placeholder">
<slot />
</SelectValuePrimitive>
</template>