-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathsteps.d.ts
59 lines (50 loc) · 1.52 KB
/
steps.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from "../component";
import { Step } from "./step";
export declare class Steps extends AntdComponent {
static Step: Step
/**
* to set the current step, counting from 0. You can overwrite this state by using status of Step
* @default 0
* @type number
*/
current: number;
/**
* set the initial step, counting from 0
* @default 0
* @type number
*/
initial: number;
/**
* support vertial title and description
* @default 'horizontal'
* @type string
*/
labelPlacement: "horizontal" | "vertical";
/**
* to specify the status of current step, can be set to one of the following values: wait process finish error
* @default 'process'
* @type string
*/
status: "wait" | "process" | "finish" | "error";
/**
* to specify the size of the step bar, default and small are currently supported
* @default 'default'
* @type string
*/
size: "default" | "small";
/**
* to specify the direction of the step bar, horizontal and vertical are currently supported
* @default 'horizontal'
* @type string
*/
direction: "horizontal" | "vertical";
/**
* Steps with progress dot style, customize the progress dot by setting a scoped slot. labelPlacement will be vertical
* @default false
* @type boolean | Funtion
*/
progressDot: boolean | Function;
}