update progress format def

fix #13122
This commit is contained in:
zombiej 2018-11-14 14:46:07 +08:00
parent 6313220551
commit 063a062eac

View File

@ -19,7 +19,7 @@ export interface ProgressProps {
type?: ProgressType; type?: ProgressType;
percent?: number; percent?: number;
successPercent?: number; successPercent?: number;
format?: (percent?: number, successPercent?: number) => string; format?: (percent?: number, successPercent?: number) => React.ReactNode;
status?: 'success' | 'active' | 'exception'; status?: 'success' | 'active' | 'exception';
showInfo?: boolean; showInfo?: boolean;
strokeWidth?: number; strokeWidth?: number;