[Doc] add component changelog (#1816)
This commit is contained in:
@@ -91,6 +91,7 @@ Setting `type` to `flex` to enable flex layout
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|-----------|-----------|-----------|-------------|
|
||||
| type | Layout type, can be set to `flex` | `String` | - |
|
||||
| gutter | Grid spacing(px) | `String | Number` | - |
|
||||
| tag | Custom element tag | `String` | `div` |
|
||||
| justify | Flex main axis,can be set to end/center/space-around/space-between | `String` | `start` |
|
||||
|
||||
@@ -92,6 +92,7 @@ Layout 组件提供了`24列栅格`,通过在`Col`上添加`span`属性设置
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|-----------|-----------|-----------|-------------|
|
||||
| type | 布局方式,可选值为`flex` | `String` | - |
|
||||
| gutter | 列元素之间的间距(单位为px) | `String | Number` | - |
|
||||
| tag | 自定义元素标签 | `String` | `div` |
|
||||
| justify | Flex 主轴对齐方式,可选值为 end/center/space-around/space-between | `String` | `start` |
|
||||
@@ -104,3 +105,11 @@ Layout 组件提供了`24列栅格`,通过在`Col`上添加`span`属性设置
|
||||
| span | 列元素宽度 | `String | Number` | - |
|
||||
| offset | 列元素偏移距离 | `String | Number` | - |
|
||||
| tag | 自定义元素标签 | `String` | `div` |
|
||||
|
||||
### 更新日志
|
||||
|
||||
| 版本 | 类型 | 内容 |
|
||||
|-----------|-----------|-----------|
|
||||
| 1.1.9 | feature | 新增 type 属性 |
|
||||
| 1.1.9 | feature | 新增 align 属性 |
|
||||
| 1.1.9 | feature | 新增 justify 属性 |
|
||||
|
||||
Reference in New Issue
Block a user