You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/steps/index.md

40 lines
1.1 KiB
Markdown

10 years ago
# Steps
- category: Components
10 years ago
- chinese: 步进条
- order: 8
10 years ago
- cols: 1
---
脚踏实地一步步走
## 何时使用
当需要对表单输入进行分步骤的录入数据时
## API
### Steps
步进条的整体
| 参数 | 说明 | 类型 | 可选值 |默认值 |
|-----------|------------------------------------------|------------|-------|--------|
| size | 可选参数,指定大小(目前只支持普通和迷你两种大小) | string | small, default | default |
### Steps.Step
步进条的每一个步
| 参数 | 说明 | 类型 | 可选值 |默认值 |
|-----------|------------------------------------------|------------|-------|--------|
| status | 必要参数,指定状态 | string | wait, process, finish | 无 |
| title | 必要参数,标题 | string/jsx | 无 | 无 |
| description | 可选参数,步骤的详情描述 | string/jsx | 无 | 空 |
| icon | 可选参数步骤的Icon。如果不指定则使用默认的样式。 | string/jsx | 无 | 空 |
## Todo
* 竖状步进条