Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(stepper): update stepper docs #1929

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions docs/mobile/api/stepper.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Stepper
description: The user can adjust the value by adjusting the + button, the - button, and the number input box. The maximum and minimum values can be set
spline: base
isComponent: true
toc: false
---

## Code Demo

### Component Type

Basic stepper

{{ base }}

### Component Status

Max-min status

{{ min-max }}

Disabled status

{{ status }}

### Component Style

Stepper style

{{ theme }}

Stepper size

{{ size }}
26 changes: 16 additions & 10 deletions docs/mobile/api/stepper.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,30 @@ isComponent: true
toc: false
---

### 类型
## 代码演示

#### 基础步进器
### 组件类型

使用场景:在表单中需要用户输入数量时可以使用
基础步进器

{{ base }}

#### 带单位步进器
### 组件状态

{{ unit-stepper }}
最大最小状态

#### 纯步进器
{{ min-max }}

{{ pure-stepper }}
禁用状态

### 状态
{{ status }}

#### 步进器状态
### 组件样式

{{ status }}
步进器样式

{{ theme }}

步进器尺寸

{{ size }}
Loading