jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/es/Progress/props.d.ts
2024-11-15 11:51:28 +08:00

48 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { IBaseProps } from '../_util/base';
/**
* @description 弹窗,可在其中加入具体内容,展示更多信息供用户使用。
*/
export interface IProgressBarProps extends IBaseProps {
/**
* @description 当前进度,范围 0-100
* @default 0
*/
percent: number | string;
/**
* @description 模式
* @default 'line'
*/
type: 'line' | 'circle';
/**
* @description 圆形进度条画布宽度,单位 px
*/
width: number;
/**
* @description 进度条宽度单位px
*/
strokeWidth: number | string;
/**
* @description 状态,仅限 line
*/
status: 'success' | 'exception';
/**
* @description 进度条颜色
*/
strokeColor: string;
/**
* @description 轨道颜色
*/
trailColor: string;
/**
* @description 每次绘制进度条推进的角度默认6deg
* @default 6
*/
speed: number;
/**
* @description 是否开启过渡动画
* @default true
*/
animation: boolean;
}
export declare const ProgressBarDefaultProps: Partial<IProgressBarProps>;