mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-07 10:12:27 +08:00
refactor(frontend): 优化 UI 基础组件
- 添加默认 class 属性支持 - 改进组件类型定义 - 优化属性配置
This commit is contained in:
@@ -5,6 +5,7 @@ import { computed } from 'vue'
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
variant: 'default',
|
||||
class: undefined,
|
||||
})
|
||||
|
||||
const badgeVariants = cva(
|
||||
|
||||
Reference in New Issue
Block a user