This commit is contained in:
2026-01-05 12:47:14 +08:00
commit 1fc846fae3
1614 changed files with 162035 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import type { ExtractPropTypes } from 'vue'
import { makeStringProp } from '../_utils'
export const configProviderProps = {
/**
* @description 主题风格,设置为 `dark` 来开启深色模式,全局生效
*/
theme: makeStringProp<string | 'dark' & {}>(''),
/**
* @description 自定义主题变量
*/
themeVars: { type: Object, default: {} },
/**
* @description 设置所有弹窗类组件的 z-index该属性对全局生效
*/
zIndex: Number,
}
export type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>