mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
docs(statistic): api table (#587)
* docs(statistic): 完善统计数据组件的说明文档 * docs(statistic): 更新一部分统计数据组件的参数文档
This commit is contained in:
parent
7ac6d1ce90
commit
407c89ea81
@ -11,9 +11,9 @@ basic
|
|||||||
## Props
|
## Props
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
| ----- | -------- | ----------- | ----------- |
|
| ----- | -------- | ----------- | ------------------------ |
|
||||||
| label | `string` | `undefined` | |
|
| label | `string` | `undefined` | Label of the statistics. |
|
||||||
| value | `string` | `undefined` | |
|
| value | `string` | `undefined` | Statistics value. |
|
||||||
|
|
||||||
## Slots
|
## Slots
|
||||||
|
|
||||||
@ -22,4 +22,4 @@ basic
|
|||||||
| default | `()` | Value slot. |
|
| default | `()` | Value slot. |
|
||||||
| label | `()` | Label slot. |
|
| label | `()` | Label slot. |
|
||||||
| prefix | `()` | Value prefix. |
|
| prefix | `()` | Value prefix. |
|
||||||
| suffix | `()` | Valut suffix. |
|
| suffix | `()` | Value suffix. |
|
||||||
|
@ -11,9 +11,9 @@ basic
|
|||||||
## Props
|
## Props
|
||||||
|
|
||||||
| 名称 | 类型 | 默认值 | 说明 |
|
| 名称 | 类型 | 默认值 | 说明 |
|
||||||
| ----- | -------- | ----------- | ---- |
|
| ----- | -------- | ----------- | ------------------- |
|
||||||
| label | `string` | `undefined` | |
|
| label | `string` | `undefined` | 展示的 `label` 信息 |
|
||||||
| value | `string` | `undefined` | |
|
| value | `string` | `undefined` | 统计数据的值 |
|
||||||
|
|
||||||
## Slots
|
## Slots
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user