docs(icon): 更新图标组件的说明文档 (#487)

This commit is contained in:
songjianet 2021-07-13 23:14:10 +08:00 committed by GitHub
parent db4cf8b511
commit 1d89c4e406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -12,11 +12,11 @@ depth
## Props
| Name | Type | Default | Description |
| ----- | ----------------------- | ----------- | ----------- |
| color | `string` | `undefined` | |
| depth | `1 \| 2 \| 3 \| 4 \| 5` | `undefined` | |
| size | `number \| string` | `undefined` | |
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| color | `string` | `undefined` | Icon color. |
| depth | `1 \| 2 \| 3 \| 4 \| 5` | `undefined` | Icon depth. |
| size | `number \| string` | `undefined` | Icon size (when the unit is not specified, the default unit: `px`). |
## Slots

View File

@ -12,11 +12,11 @@ depth
## Props
| 名称 | 类型 | 默认值 | 说明 |
| ----- | ----------------------- | ----------- | ---- |
| color | `string` | `undefined` | |
| depth | `1 \| 2 \| 3 \| 4 \| 5` | `undefined` | |
| size | `number \| string` | `undefined` | |
| 名称 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| color | `string` | `undefined` | 图标颜色 |
| depth | `1 \| 2 \| 3 \| 4 \| 5` | `undefined` | 图标深度 |
| size | `number \| string` | `undefined` | 图标大小(当不指定单位时,默认单位: `px` |
## Slots