概述
目录
EProps (接口)
签名
interface EProps {
/**
*边框样式
*/
mkBorder?: 'none' | 'bordered' | 'top' | 'bottom' | 'left' | 'right' | 'topBar' | 'bottomBar' | 'leftBar' | 'rightBar'
}
v0.2.0 中添加
Props (接口)
边框属性
定义边框和阴影
签名
interface Props extends SProps, EProps {}
v0.2.0 中添加
SProps (接口)
签名
interface SProps {
/**
*边框曲率
*/
mkBorderRadius?: Level
/**
*圆形
*/
mkRounded?: boolean
/**
*阴影值
*/
mkShadow?: keyof Theme['border']['shadows']
}
v0.2.0 中添加
Theme (接口)
签名
interface Theme {
border: {
shadows: {
0: string
1: string
2: string
3: string
4: string
5: string
6: string
7: string
8: string
9: string
10: string
11: string
12: string
13: string
14: string
15: string
16: string
17: string
18: string
19: string
20: string
21: string
22: string
23: string
24: string
}
radius: {
[key in Level]: number
}
}
}
v0.2.0 中添加
Rule (类型)
签名
export type Rule = ExtendRule<ParentRule, SProps, EProps, Theme>
v0.2.0 中添加
ruleModule (常量)
签名
export const : any = ...
v0.2.0 中添加
theme (常量)
签名
export const theme: Theme = ...
v0.2.0 中添加