Overview
Table of contents
- EProps (interface)
- Props (interface)
- Border Property
- SProps (interface)
- Theme (interface)
- Rule (type alias)
- ruleModule (constant)
- theme (constant)
EProps (interface)
Signature
interface EProps {
/**
*border sytle
*/
mkBorder?: 'none' | 'bordered' | 'top' | 'bottom' | 'left' | 'right' | 'topBar' | 'bottomBar' | 'leftBar' | 'rightBar'
}
Added in v0.2.0
Props (interface)
Border Property
The define border style and box shadow
Signature
interface Props extends SProps, EProps {}
Added in v0.2.0
SProps (interface)
Signature
interface SProps {
/**
*border radius
*/
mkBorderRadius?: Level
/**
*Circle shape
*/
mkRounded?: boolean
/**
*box shadow
*/
mkShadow?: keyof Theme['border']['shadows']
}
Added in v0.2.0
Theme (interface)
Signature
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
}
}
}
Added in v0.2.0
Rule (type alias)
Signature
export type Rule = ExtendRule<ParentRule, SProps, EProps, Theme>
Added in v0.2.0
ruleModule (constant)
Signature
export const : any = ...
Added in v0.2.0
theme (constant)
Signature
export const theme: Theme = ...
Added in v0.2.0