[Doc] use ts-style type
This commit is contained in:
+8
-8
@@ -92,16 +92,16 @@ 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` |
|
||||
| align | Flex cross axis, be set to center/bottom | `String` | `top` |
|
||||
| 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` |
|
||||
| align | Flex cross axis, be set to center/bottom | `string` | `top` |
|
||||
|
||||
### Col Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| span | Number of column the grid spans | `String | Number` | - |
|
||||
| offset | Number of spacing on the left side of the grid | `String | Number` | - |
|
||||
| tag | Custom element tag | `String` | `div` |
|
||||
| span | number of column the grid spans | `string | number` | - |
|
||||
| offset | number of spacing on the left side of the grid | `string | number` | - |
|
||||
| tag | Custom element tag | `string` | `div` |
|
||||
|
||||
@@ -95,16 +95,16 @@ 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` | - |
|
||||
|
||||
Reference in New Issue
Block a user