niko 8 лет назад
Родитель
Сommit
982872b0c9
2 измененных файлов с 16 добавлено и 4 удалено
  1. 14 0
      src/components/CountDown/index.en-US.md
  2. 2 4
      src/components/CountDown/index.md

+ 14 - 0
src/components/CountDown/index.en-US.md

@@ -0,0 +1,14 @@
+---
+title: CountDown
+cols: 1
+order: 3
+---
+
+倒计时组件。
+
+## API
+
+| Property | Description | Type | Default |
+|----------|------------------------------------------|-------------|-------|
+| format | Formatter of time | Function(time) |  |
+| target | Target time | Date | - |

+ 2 - 4
src/components/CountDown/index.md

@@ -1,7 +1,5 @@
 ---
-title:
-  en-US: CountDown
-  zh-CN: 倒计时
+title: CountDown 
 subtitle: 倒计时
 cols: 1
 order: 3
@@ -13,5 +11,5 @@ order: 3
 
 | 参数      | 说明                                      | 类型         | 默认值 |
 |----------|------------------------------------------|-------------|-------|
-| format | 时间格式化显示显示 | Function(time) |  |
+| format | 时间格式化显示 | Function(time) |  |
 | target | 目标时间 | Date | - |