diff --git a/src/components/CountDown/index.en-US.md b/src/components/CountDown/index.en-US.md new file mode 100644 index 00000000..cd1e426b --- /dev/null +++ b/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 | - | diff --git a/src/components/CountDown/index.md b/src/components/CountDown/index.zh-CN.md similarity index 72% rename from src/components/CountDown/index.md rename to src/components/CountDown/index.zh-CN.md index d2af419d..f9814bc6 100644 --- a/src/components/CountDown/index.md +++ b/src/components/CountDown/index.zh-CN.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 | - |