fix Card children type (#7030)

This commit is contained in:
Randy 2017-07-31 20:29:56 +08:00 committed by 偏右
parent a88f8fcc21
commit b5ad05bc06

View File

@ -13,7 +13,7 @@ export interface CardProps {
style?: React.CSSProperties;
loading?: boolean;
noHovering?: boolean;
children?: React.ReactChild;
children?: React.ReactNode;
id?: string;
className?: string;
}