update type

This commit is contained in:
yoyo837 2019-09-05 19:45:44 +08:00 committed by 偏右
parent e479f1f476
commit 864138370f

View File

@ -183,8 +183,8 @@ export interface TableProps<T> {
useFixedHeader?: boolean;
bordered?: boolean;
showHeader?: boolean;
footer?: (currentPageData: Object[]) => React.ReactNode;
title?: (currentPageData: Object[]) => React.ReactNode;
footer?: (currentPageData: T[]) => React.ReactNode;
title?: (currentPageData: T[]) => React.ReactNode;
scroll?: { x?: boolean | number | string; y?: boolean | number | string };
childrenColumnName?: string;
bodyStyle?: React.CSSProperties;