From 644891f8f62a8d738de997e957f3982b90818b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1but=E7=9A=84=E8=8B=8D=E8=9D=87?= <354788473@qq.com> Date: Sun, 17 Sep 2017 02:44:01 -0500 Subject: [PATCH] add Table scroll typings (#7640) --- components/table/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/Table.tsx b/components/table/Table.tsx index 2b1fd3713f..be88ca4afd 100755 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -86,7 +86,7 @@ export interface TableProps { 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;