UNPKG

@tplc/wot

Version:

45 lines (44 loc) 825 B
import type { PropType } from 'vue' export type ProgressStatus = 'success' | 'danger' export declare const progressProps: { /** * 进度数值,最大值100 */ percentage: { type: NumberConstructor default: number } /** * 是否隐藏进度条上的文字,默认值为false */ hideText: { type: BooleanConstructor default: boolean } /** * 进度条颜色 */ color: { type: PropType<string | string[] | Record<string, any>[]> default: string } /** * 进度增加1%所需毫秒数 */ duration: { type: NumberConstructor default: number } /** * 进度条状态 */ status: PropType<ProgressStatus> customStyle: { type: PropType<string> default: string } customClass: { type: PropType<string> default: string } }