UNPKG

853 BTypeScriptView Raw
1import { ElementUIComponent } from './component'
2import { StepStatus } from './step'
3
4export type StepsDirection = 'vertical' | 'horizontal'
5
6/** Guide the user to complete tasks in accordance with the process. Its steps can be set according to the actual application scenario and the number of the steps can't be less than 2. */
7export declare class ElSteps extends ElementUIComponent {
8 /** The spacing of each step, will be responsive if omitted. Support percentage. */
9 space: number | string
10
11 /** Display direction */
12 direction: StepsDirection
13
14 /** Current activation step */
15 active: number
16
17 /** Status of current step */
18 processStatus: StepStatus
19
20 /** Status of end step */
21 finishStatus: StepStatus
22
23 /** Whether step description is centered */
24 alignCenter: boolean
25
26 /** Whether to apply simple theme */
27 simple: boolean
28}