Steps
Guides the user through a task step by step.
Code examples
Horizontal steps
Vertical steps
API
Steps
Steps props
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
active | Index of the current step | number | 0 |
direction | Layout direction | horizontal | vertical | horizontal |
active-color | Color for completed steps | string | - |
inactive-color | Color for upcoming steps | string | - |
Step
Step props
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
title | Step title | string | - |