docs(space): api table (#633)

* docs(space): 完善间距组件的说明文档

* docs(space): 更新一部分间距组件的说明文档
This commit is contained in:
songjianet 2021-07-25 13:37:03 +08:00 committed by GitHub
parent a8f0a3b38e
commit 505abd3e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 20 deletions

View File

@ -17,16 +17,16 @@ center
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| align | `'start' \| 'end' \| 'center' \| 'baseline' \| 'stretch'` | `undefined` | |
| inline | `boolean` | `false` | |
| item-style | `string \| object` | `undefined` | |
| justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between'` | `'start'` | |
| size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | |
| vertical | `boolean` | `false` | |
| wrap | `boolean` | `true` | |
| align | `'start' \| 'end' \| 'center' \| 'baseline' \| 'stretch'` | `undefined` | Vertical arrangement. |
| inline | `boolean` | `false` | Is it an inline element. |
| item-style | `string \| object` | `undefined` | Node style. |
| justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between'` | `'start'` | Horizontal arrangement. |
| size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | Size. |
| vertical | `boolean` | `false` | Whether to lay out vertically. |
| wrap | `boolean` | `true` | Whether to exceed the line break. |
## Slots
| Name | Parameters | Description |
| ------- | ---------- | ----------- |
| default | `()` | |
| Name | Parameters | Description |
| ------- | ---------- | ---------------- |
| default | `()` | Spacing content. |

View File

@ -18,16 +18,16 @@ grid-debug
| 名称 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| align | `'start' \| 'end' \| 'center' \| 'baseline' \| 'stretch'` | `undefined` | |
| inline | `boolean` | `false` | |
| item-style | `string \| object` | `undefined` | |
| justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between'` | `'start'` | |
| size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | |
| vertical | `boolean` | `false` | |
| wrap | `boolean` | `true` | |
| align | `'start' \| 'end' \| 'center' \| 'baseline' \| 'stretch'` | `undefined` | 垂直排列方式 |
| inline | `boolean` | `false` | 是否为行内元素 |
| item-style | `string \| object` | `undefined` | 节点样式 |
| justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between'` | `'start'` | 水平排列方式 |
| size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | 大小 |
| vertical | `boolean` | `false` | 是否垂直布局 |
| wrap | `boolean` | `true` | 是否超出换行 |
## Slots
| 名称 | 参数 | 说明 |
| ------- | ---- | ---- |
| default | `()` | |
| 名称 | 参数 | 说明 |
| ------- | ---- | -------- |
| default | `()` | 间距内容 |