From 1f87132b364086f2ec75e8435dcf0033ad431766 Mon Sep 17 00:00:00 2001 From: chunlea Date: Sun, 13 Jan 2019 20:27:56 +0800 Subject: [PATCH] FIX: correct typings for EmptyProps in Empty Component --- components/empty/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/empty/index.tsx b/components/empty/index.tsx index 229dd050b5..508d555bd3 100644 --- a/components/empty/index.tsx +++ b/components/empty/index.tsx @@ -11,8 +11,8 @@ export interface EmptyProps { prefixCls?: string; className?: string; style?: React.CSSProperties; - image?: string; - description?: React.ReactNode; + image?: string | React.ReactNode; + description?: string | React.ReactNode; children?: React.ReactNode; }