From 063a062eac23e8cc390205b457826271b1484eb5 Mon Sep 17 00:00:00 2001 From: zombiej Date: Wed, 14 Nov 2018 14:46:07 +0800 Subject: [PATCH] update progress format def fix #13122 --- components/progress/progress.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/progress/progress.tsx b/components/progress/progress.tsx index e0ac2029e7..21e840f97c 100644 --- a/components/progress/progress.tsx +++ b/components/progress/progress.tsx @@ -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;