docs(icon): api table (#595)

This commit is contained in:
Yugang Cao 2021-07-23 00:32:47 +08:00 committed by GitHub
parent 8edc84e8b4
commit e3a80ae139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -60,7 +60,7 @@ tree
| row-key | `(rowData: object) => (number \| string)` | `undefined` | Generate the key of the row by row data (if you don't want to set the key). |
| row-props | `(rowData: object, rowIndex : number) => object` | `undefined` | Customize row attributes. |
| scroll-x | `number \| string` | `undefined` | If columns are horizontal fixed, scroll-x need to be set. |
| single-column | `boolean` | `false` | Whether to display as a column (when true, each column has border-bottom). |
| single-column | `boolean` | `false` | Whether to display as a column (when true, each column has border-right). |
| single-line | `boolean` | `true` | Whether to display as a line (when true, each row has border-bottom). |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Table size. |
| summary | `CreateSummary` | `undefined` | Data of table summary row. For types, see <n-a href="#CreateSummary-Type">CreateSummary Type</n-a>. |

View File

@ -60,7 +60,7 @@ tree
| row-key | `(rowData: object) => (number \| string)` | `undefined` | 通过行数据创建行的 key如果你不想给每一行加上 key |
| row-props | `(rowData: object, rowIndex : number) => object` | `undefined` | 自定义行属性 |
| scroll-x | `number \| string` | `undefined` | 表格内容的横向宽度,如果列被水平固定了,则需要设定它 |
| single-column | `boolean` | `false` | 是否展示为一列true 时每一列都有 border-bottom |
| single-column | `boolean` | `false` | 是否展示为一列true 时每一列都有 border-right |
| single-line | `boolean` | `true` | 是否展示为一行true 时每一行都有 border-bottom |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 表格的尺寸 |
| summary | `CreateSummary` | `undefined` | 表格总结栏的数据,类型见 <n-a href="#CreateSummary-Type">CreateSummary Type</n-a> |

View File

@ -20,6 +20,6 @@ depth
## Slots
| Name | Parameters | Description |
| ------- | ---------- | ----------- |
| default | `()` | |
| Name | Parameters | Description |
| ------- | ---------- | ------------------------ |
| default | `()` | The content of the icon. |

View File

@ -20,8 +20,8 @@ depth
## Slots
| 名称 | 参数 | 说明 |
| ------- | ---- | ---- |
| default | `()` | |
| 名称 | 参数 | 说明 |
| ------- | ---- | ---------- |
| default | `()` | 图标的内容 |
<!-- icons -->