add Table scroll typings (#7640)

This commit is contained in:
爱but的苍蝇 2017-09-17 02:44:01 -05:00 committed by 偏右
parent c5f56b9db3
commit 644891f8f6

View File

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