-
- {activeSearchBox && (
-
setActiveSearchBox(false)}
- />
- )}
-
-
setFilter(e.target.value)}
- onFocus={() => setActiveSearchBox(true)}
- className={`w-9/12 text-xs text-blue-400 rounded focus:outline-none border p-1 focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20`}
- style={{ backgroundColor: "#F9FBFF", borderColor: "#B5D6FF" }}
- />
-
+
setFilter(e.target.value)}
+ className={`text-xs text-blue-400 rounded focus:outline-none border p-1 focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20`}
+ style={{ backgroundColor: "#F9FBFF", borderColor: "#B5D6FF" }}
+ />
);
};
diff --git a/src/components/ReactTable4/EditButtons.js b/src/components/ReactTable4/EditButtons.js
index 8febe51..93ffa4d 100644
--- a/src/components/ReactTable4/EditButtons.js
+++ b/src/components/ReactTable4/EditButtons.js
@@ -8,7 +8,6 @@ import plus from "./plus.svg";
export function EditButtons({ setFiltering, filtering, addTab }) {
const [selectedFilterRow, setSelectedFilterRow] = useState(filtering);
- // setFiltering(selectedFilterRow);
return (
@@ -27,7 +26,6 @@ export function EditButtons({ setFiltering, filtering, addTab }) {
{/* filter */}
setSelectedFilterRow(!selectedFilterRow)}
alt=""
className={`mx-1 p-2 rounded border border-blue-300 cursor-pointer w-8
${selectedFilterRow ? "border" : "border-0"}`}
diff --git a/src/components/ReactTable4/Tabbar.js b/src/components/ReactTable4/Tabbar.js
new file mode 100644
index 0000000..353ad1b
--- /dev/null
+++ b/src/components/ReactTable4/Tabbar.js
@@ -0,0 +1,66 @@
+import React from "react";
+import "./index.scss";
+
+import cancleIcon from "./zarbedar-icon.svg";
+
+const Tabbar = ({ tabs, delTab, setActivateTab, activeTab }) => {
+ return (
+
+ );
+};
+
+window.isDown = false;
+
+export default Tabbar;
diff --git a/src/components/ReactTable4/index.js b/src/components/ReactTable4/index.js
index a54a139..457ac1e 100644
--- a/src/components/ReactTable4/index.js
+++ b/src/components/ReactTable4/index.js
@@ -2,8 +2,6 @@ import React, { useRef, useState } from "react";
import BasicTable from "./BasicTable";
-import cancleIcon from "./zarbedar-icon.svg";
-
const ReactTable4 = ({ breadCrumbs, subTitle, title }) => {
const [tabs, setTabs] = useState([
{ name: "جدول " + breadCrumbs[breadCrumbs.length - 1].name, id: 0 },
@@ -65,7 +63,6 @@ const ReactTable4 = ({ breadCrumbs, subTitle, title }) => {
{subTitle}
- {/*