FIX: correct typings for EmptyProps in Empty Component

This commit is contained in:
chunlea 2019-01-13 20:27:56 +08:00 committed by 偏右
parent 0b8fadd24c
commit 1f87132b36

View File

@ -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;
}