Skip to content

Commit

Permalink
feat(stepper): update stepper (#1930)
Browse files Browse the repository at this point in the history
Co-authored-by: taninsist <taninsist@gmail.com>
  • Loading branch information
taninsist and taninsist authored Sep 12, 2024
1 parent 1ef64a4 commit a211610
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 10 deletions.
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 }}

0 comments on commit a211610

Please sign in to comment.