iview/types/steps.d.ts

48 lines
1.1 KiB
TypeScript
Raw Normal View History

// Type definitions for iview 3.3.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
2019-01-05 22:29:10 +08:00
import Vue from 'vue';
export declare interface Steps extends Vue {
/**
* 0
* @default 0
*/
current?: number;
/**
* waitprocessfinisherror
* @default process
*/
status?: 'wait' | 'process' | 'finish' | 'error';
/**
* small或者不写
*/
size?: '' | 'small';
/**
* horizontalvertical
* @default horizontal
*/
direction?: 'horizontal' | 'vertical';
}
export declare interface StepsStep extends Vue {
/**
* waitprocessfinisherror
* @default process
*/
status?: 'wait' | 'process' | 'finish' | 'error';
/**
*
* @default
*/
title?: string;
/**
*
*/
content?: string;
/**
*
*/
icon?: string;
}