docs: update numeric type
This commit is contained in:
+3
-3
@@ -95,7 +95,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* | - |
|
||||
| gutter | Grid spacing(px) | *number \| string* | - |
|
||||
| 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` |
|
||||
@@ -104,8 +104,8 @@ Setting `type` to `flex` to enable flex layout
|
||||
|
||||
| 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* | - |
|
||||
| span | number of column the grid spans | *number \| string* | - |
|
||||
| offset | number of spacing on the left side of the grid | *number \| string* | - |
|
||||
| tag | Custom element tag | *string* | `div` |
|
||||
|
||||
### Row Events
|
||||
|
||||
@@ -98,7 +98,7 @@ Layout 组件提供了`24列栅格`,通过在`Col`上添加`span`属性设置
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| type | 布局方式,可选值为`flex` | *string* | - |
|
||||
| gutter | 列元素之间的间距(单位为px) | *string \| number* | - |
|
||||
| gutter | 列元素之间的间距(单位为px) | *number \| string* | - |
|
||||
| tag | 自定义元素标签 | *string* | `div` |
|
||||
| justify | Flex 主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between` | *string* | `start` |
|
||||
| align | Flex 交叉轴对齐方式,可选值为 `center` `bottom` | *string* | `top` |
|
||||
@@ -107,8 +107,8 @@ Layout 组件提供了`24列栅格`,通过在`Col`上添加`span`属性设置
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| span | 列元素宽度 | *string \| number* | - |
|
||||
| offset | 列元素偏移距离 | *string \| number* | - |
|
||||
| span | 列元素宽度 | *number \| string* | - |
|
||||
| offset | 列元素偏移距离 | *number \| string* | - |
|
||||
| tag | 自定义元素标签 | *string* | `div` |
|
||||
|
||||
### Row Events
|
||||
|
||||
Reference in New Issue
Block a user