diff --git a/demo/documentation/components/statistic/enUS/index.md b/demo/documentation/components/statistic/enUS/index.md index 1c275ea07..f245180c8 100644 --- a/demo/documentation/components/statistic/enUS/index.md +++ b/demo/documentation/components/statistic/enUS/index.md @@ -5,7 +5,7 @@ As simple as it looks. basic ``` ## Props -|Property|Type|Default|Description| +|Name|Type|Default|Description| |-|-|-|-| |label|`string`|`null`|| |value|`string`|`null`|| diff --git a/demo/documentation/components/statistic/zhCN/basic.md b/demo/documentation/components/statistic/zhCN/basic.md new file mode 100644 index 000000000..7cb128058 --- /dev/null +++ b/demo/documentation/components/statistic/zhCN/basic.md @@ -0,0 +1,31 @@ +# 基础用法 +```html + + + + + + + + + + + + +``` + +```js +import mdSave from 'naive-ui/lib/icons/md-save' + +export default { + components: { + mdSave + } +} +``` \ No newline at end of file diff --git a/demo/documentation/components/statistic/zhCN/index.md b/demo/documentation/components/statistic/zhCN/index.md index e69de29bb..d9bdc58f6 100644 --- a/demo/documentation/components/statistic/zhCN/index.md +++ b/demo/documentation/components/statistic/zhCN/index.md @@ -0,0 +1,17 @@ +# Statistic +和它看起来一样简单。 +## 演示 +```demo +basic +``` +## Props +|名称|类型|默认值|介绍| +|-|-|-|-| +|label|`string`|`null`|| +|value|`string`|`null`|| + +## Slots +|名称|参数|介绍| +|-|-|-| +|suffix|`()`|| +|prefix|`()`|| \ No newline at end of file