mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +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