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;
percent?: number;
successPercent?: number;
format?: (percent?: number, successPercent?: number) => string;
format?: (percent?: number, successPercent?: number) => React.ReactNode;
status?: 'success' | 'active' | 'exception';
showInfo?: boolean;
strokeWidth?: number;