docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+8 -8
View File
@@ -96,19 +96,19 @@ Layout 组件提供了`24列栅格`,通过在`Col`上添加`span`属性设置
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| type | 布局方式,可选值为`flex` | `string` | - | - |
| gutter | 列元素之间的间距(单位为px) | `string | number` | - | - |
| tag | 自定义元素标签 | `string` | `div` | - |
| justify | Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between` | `string` | `start` | - |
| align | Flex 交叉轴对齐方式,可选值为 `center` `bottom` | `string` | `top` | - |
| type | 布局方式,可选值为`flex` | *string* | - | - |
| gutter | 列元素之间的间距(单位为px) | *string \| number* | - | - |
| tag | 自定义元素标签 | *string* | `div` | - |
| justify | Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between` | *string* | `start` | - |
| align | Flex 交叉轴对齐方式,可选值为 `center` `bottom` | *string* | `top` | - |
### Col Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| span | 列元素宽度 | `string | number` | - | - |
| offset | 列元素偏移距离 | `string | number` | - | - |
| tag | 自定义元素标签 | `string` | `div` | - |
| span | 列元素宽度 | *string \| number* | - | - |
| offset | 列元素偏移距离 | *string \| number* | - | - |
| tag | 自定义元素标签 | *string* | `div` | - |
### Row Events