docs: type highlight (#4264)
This commit is contained in:
+8
-8
@@ -93,19 +93,19 @@ Setting `type` to `flex` to enable flex layout
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| 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 | Version |
|
||||
|------|------|------|------|------|
|
||||
| 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` | - |
|
||||
|
||||
### Row Events
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user