UNPKG

tdesign-mobile-vue

Version:
26 lines (25 loc) 781 B
import { TNode } from '../common'; export interface TdStepsProps { current?: string | number; defaultCurrent?: string | number; currentStatus?: 'default' | 'process' | 'finish' | 'error'; layout?: 'horizontal' | 'vertical'; readonly?: boolean; sequence?: 'positive' | 'reverse'; theme?: 'default' | 'dot'; onChange?: (current: string | number, previous: string | number, context?: { e?: MouseEvent; }) => void; } export interface TdStepItemProps { content?: string | TNode; icon?: TNode; status?: StepStatus; title?: string | TNode; titleRight?: string | TNode; } export declare type StepStatus = 'default' | 'process' | 'finish' | 'error'; export interface SubStepItem { status: StepStatus; title: string; }