From d0f95299cd820e61a95fccadd2667d5d0aa1096a Mon Sep 17 00:00:00 2001 From: ycjcl868 <45808948@qq.com> Date: Fri, 23 Aug 2019 18:07:39 +0800 Subject: [PATCH] fix: result types --- components/result/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/result/index.tsx b/components/result/index.tsx index 0dd6606b86..2ef05910ce 100644 --- a/components/result/index.tsx +++ b/components/result/index.tsx @@ -24,7 +24,7 @@ export type ResultStatusType = ExceptionStatusType | keyof typeof IconMap; export interface ResultProps { icon?: React.ReactNode; - status: ResultStatusType; + status?: ResultStatusType; title?: React.ReactNode; subTitle?: React.ReactNode; extra?: React.ReactNode;