mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
docs(icon): 更新图标组件的说明文档 (#487)
This commit is contained in:
parent
db4cf8b511
commit
1d89c4e406
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user