@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
43 lines (42 loc) • 857 B
TypeScript
export interface ProgressProps {
/**
* @description 进度条类型
*/
type: 'circle' | 'line';
/**
* @description 进度值
*/
percent: number;
/**
* @description 保留小数点位数
*/
decimal: number;
/**
* @description 是否展示文本
*/
showText: boolean;
/**
* @description 尺寸
*/
size: Meleon.MlSize;
/**
* @description 进度条长度
*/
width: number;
/**
* @description 进度条宽度
*/
strokeWidth: number;
/**
* @description 进度条状态
*/
status: Meleon.MlStatus;
/**
* @description 激活状态线段颜色
*/
color: string | Record<string, string>;
/**
* @description 背景颜色
*/
trackColor: string;
}