UNPKG

tdesign-mobile-vue

Version:
23 lines (22 loc) 739 B
import { TNode } from '../common'; export interface TdStepsProps { current?: string | number; defaultCurrent?: string | number; modelValue?: 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';