From 00fe98b11d41a1cd3d0c0b2bedf0fb5de08f2b13 Mon Sep 17 00:00:00 2001 From: mahdi andalib Date: Mon, 21 Feb 2022 09:21:13 +0330 Subject: [PATCH] update and added --- src/components/ReactTable4/BasicTable.js | 10 ++++++---- src/components/ReactTable4/columns.js | 2 -- src/components/ReactTable4/index.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/ReactTable4/BasicTable.js b/src/components/ReactTable4/BasicTable.js index 38f7b2e..23beebf 100644 --- a/src/components/ReactTable4/BasicTable.js +++ b/src/components/ReactTable4/BasicTable.js @@ -9,7 +9,7 @@ import { ColumnSearch } from "./ColumnSearch"; import { GlobalFilter } from "./GlobalFilter"; import { ToggleColumns } from "./ToggleColumns"; -import { COLUMNS } from "./columns"; +import { COLUMNS } from "./COLUMNS"; import { Pagination } from "./Pagination"; import { GoToPage } from "./GoToPage"; import { Settings } from "./Settings"; @@ -105,13 +105,14 @@ const BasicTable = ({ ); const { globalFilter, pageIndex, pageSize } = state; + return ( <> {/* toggle columns */} - + /> */}
{/* right box */}
@@ -125,7 +126,7 @@ const BasicTable = ({ {/* left box */} {activeTab == 0 ? (
{/* search box */} @@ -161,6 +162,7 @@ const BasicTable = ({
) : null}
+ {/* table */} {activeTab == 0 ? ( <> { e.preventDefault();