Skip to content

Commit

Permalink
docs(mobile-react): update count-down doc (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Aug 23, 2024
1 parent f1adcf0 commit 91c9dcb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
21 changes: 21 additions & 0 deletions docs/mobile/api/count-down.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: CountDown
description: Used to display the countdown value in real time.
spline: base
isComponent: true
toc: false
---


> CountDown is used to display the countdown value in real time. If you need to maintain the consistent font style of numbers with the site's design, we recommend downloading the TCloudNumber font from the "Number Font" section of <a href="https://tdesign.tencent.com/design/fonts">fonts</a>, and importing the TCloudNumberVF.ttf font resource into your project for use.

## Code Demo

### Base Countdown

{{ base }}

### Adjust Size

{{ size }}
11 changes: 8 additions & 3 deletions docs/mobile/api/count-down.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ isComponent: true
toc: false
---

### 类型
> CountDown 组件用于实时展示倒计时数值。
如果需要与站点演示一致的数字字体效果,推荐您到 <a href="https://tdesign.tencent.com/design/fonts">数字字体章节</a>,将 TCloudNumber 字体下载并将包含的 TCloudNumberVF.ttf 做为 TCloudNumber 字体资源引入到具体项目中使用。
## 代码演示

### 基础倒计时

{{ base }}

### 规格
### 调整尺寸

{{ specs }}
{{ size }}

0 comments on commit 91c9dcb

Please sign in to comment.