UNPKG

689 BTypeScriptView Raw
1import { VNode } from 'vue'
2import { ElementUIComponent } from './component'
3
4export type StepStatus = 'wait' | 'process' | 'finish' | 'error' | 'success'
5
6export interface StepRenderSlots {
7 /** Custom icon */
8 icon: VNode[],
9
10 /** Step title */
11 title: VNode[],
12
13 /** Step description */
14 description: VNode[],
15
16 [key: string]: VNode[]
17}
18
19/** Step Component */
20export declare class ElStep extends ElementUIComponent {
21 /** Step title */
22 title: string
23
24 /** Step description */
25 description: string
26
27 /** Step icon */
28 icon: string
29
30 /** Current status. It will be automatically set by Steps if not configured. */
31 status: StepStatus
32
33 readonly $slots: StepRenderSlots
34}