mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
FIX: correct typings for EmptyProps in Empty Component
This commit is contained in:
parent
0b8fadd24c
commit
1f87132b36
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user