feat: Add Descriptions component and add Descriptions demo

This commit is contained in:
陈凯龙
2022-02-11 15:11:15 +08:00
parent af9fc0a4ad
commit 7ad46f828d
10 changed files with 340 additions and 38 deletions

11
types/componentType/descriptions.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
declare interface DescriptionsSchema {
span?: number // 占多少分
field: string // 字段名
label?: string // label名
width?: string | number
minWidth?: string | number
align?: 'left' | 'center' | 'right'
labelAlign?: 'left' | 'center' | 'right'
className?: string
labelClassName?: string
}