Skip to content

Commit

Permalink
style(CountDown): using css token (#1085)
Browse files Browse the repository at this point in the history
* style(CountDown): using css token

* feat(Textarea): support hightlight theme
  • Loading branch information
anlyyao committed Nov 26, 2022
1 parent 5211d75 commit 188ffa3
Show file tree
Hide file tree
Showing 20 changed files with 561 additions and 322 deletions.
7 changes: 4 additions & 3 deletions src/count-down/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ isComponent: true

### 调整尺寸

{{ sizeCountDown }}
{{ size }}

## API
### CountDown Props
Expand All @@ -36,10 +36,11 @@ content | String / Slot | 'default' | 最终倒计时的展示内容,值为'de
custom-style `v0.25.0` | String | - | 自定义组件样式 | N
format | String | HH:mm:ss | 时间格式,DD-日,HH-时,mm-分,ss-秒,SSS-毫秒 | N
millisecond | Boolean | false | 是否开启毫秒级渲染 | N
size | String `v0.5.1` | 'small' | 倒计时尺寸。可选项:small/medium/large | N
size | String `v0.5.1` | 'medium' | 倒计时尺寸。可选项:small/medium/large | N
split-with-unit `v0.5.1` | Boolean | false | 使用时间单位分割 | N
theme | String `v0.5.1` | 'default' | 倒计时风格。可选项:default/round/square | N
theme | String `v0.5.1` | 'default' | 倒计时风格。可选项:default/round/square/hightlight | N
time | Number | - | 必需。倒计时时长,单位毫秒 | Y
external-classes | Array | - | 组件类名,分别用于设置 组件外层类名、计时器类型、分隔线类名 等。`['t-class', 't-class-count', 't-class-split']` | N

### CountDown Events

Expand Down
Loading

0 comments on commit 188ffa3

Please sign in to comment.