From 9606c039a2a35f01acc3efe3c99d47cb7599e03c Mon Sep 17 00:00:00 2001 From: zhangwenshuai Date: Mon, 20 Jul 2020 16:07:55 +0800 Subject: [PATCH] add interface --- components/apolloTable/component/index.tsx | 7 ++++++- components/apolloTable/component/interface.tsx | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/apolloTable/component/index.tsx b/components/apolloTable/component/index.tsx index 07a5a5f..94b51e6 100644 --- a/components/apolloTable/component/index.tsx +++ b/components/apolloTable/component/index.tsx @@ -58,6 +58,7 @@ class AirTable extends React.Component { const { columns, dataSource } = this.state; const { className, + tableClassName, rowStyle, rowClassName, distanceToLoad, @@ -105,7 +106,11 @@ class AirTable extends React.Component { )}
{tableOperateConfig && (
diff --git a/components/apolloTable/component/interface.tsx b/components/apolloTable/component/interface.tsx index 58217f0..e67ebd8 100644 --- a/components/apolloTable/component/interface.tsx +++ b/components/apolloTable/component/interface.tsx @@ -90,6 +90,7 @@ export interface CommonProps extends TableProps { paginationConfig?: any; locale?: any; className?: string; + tableClassName?: string; showCondition?: boolean; id?:string; } -- 2.21.0