init
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user