@tplc/wot
Version:
34 lines (33 loc) • 791 B
TypeScript
import type { PropType } from 'vue'
export type StepStatus = 'finished' | 'process' | 'error'
export declare const stepProps: {
/**
* 步骤标题,如果没有则使用默认文案。
* 当只有标题而没有描述时,标题的字号会小2号。
* 类型: string
*/
title: StringConstructor
/**
* 步骤描述。
* 类型: string
*/
description: StringConstructor
/**
* 步骤图标。
* 类型: string
*/
icon: StringConstructor
/**
* 步骤状态,可选值为 'finished'(已完成)、'process'(进行中)、'error'(出错)。
* 类型: string
*/
status: PropType<StepStatus>
customStyle: {
type: PropType<string>
default: string
}
customClass: {
type: PropType<string>
default: string
}
}