diff --git a/src/components/SearchDesign/SearchBox/index.js b/src/components/SearchDesign/SearchBox/index.js
index 3ff2a1b..1ea6a06 100644
--- a/src/components/SearchDesign/SearchBox/index.js
+++ b/src/components/SearchDesign/SearchBox/index.js
@@ -33,7 +33,7 @@ const SearchBox = ({
// onBlur={() => setActiveSearchBox(false)}
type="text"
placeholder={placeholder}
- className={`${className} w-[100%] text-xs focus:outline-none rounded border focus:ring focus:ring-opacity-20`}
+ className={`${className} w-[100%] text-xs focus:outline-none rounded border focus:ring focus:ring-opacity-20`}
/>
);
diff --git a/src/components/Tabels/ReactTable4/Buttons.js b/src/components/Tabels/ReactTable4/Buttons.js
index 332943c..2a8e171 100644
--- a/src/components/Tabels/ReactTable4/Buttons.js
+++ b/src/components/Tabels/ReactTable4/Buttons.js
@@ -1,9 +1,6 @@
import { useState } from "react";
-import arrowIcon from "images/ReactTable4arrow-icon.svg";
-import edit from "images/ReactTable4edit.svg";
-
-import DropDown from "../MiniComponents/DropDown";
+import DropDown from "../../MiniComponents/DropDown";
export const Buttons = ({ row, addTab }) => {
const [activeDetails, setActiveDetails] = useState(null);
@@ -21,7 +18,7 @@ export const Buttons = ({ row, addTab }) => {
>
جزئیات
{
addTab({ name: row.original.name, id: row.original.id });
}}
>
-
+
diff --git a/src/components/Tabels/ReactTable4/EditButtons.js b/src/components/Tabels/ReactTable4/EditButtons.js
index ef07c6a..1d3101a 100644
--- a/src/components/Tabels/ReactTable4/EditButtons.js
+++ b/src/components/Tabels/ReactTable4/EditButtons.js
@@ -1,10 +1,7 @@
import React, { useState } from "react";
import Table from "./BasicTable";
-import DropDown from "../MiniComponents/DropDown";
-
-import filter from "./filter.svg";
-import plus from "./plus.svg";
+import DropDown from "../../MiniComponents/DropDown";
export function EditButtons({ setFiltering, filtering, addTab }) {
const [selectedFilterRow, setSelectedFilterRow] = useState(filtering);
@@ -21,11 +18,15 @@ export function EditButtons({ setFiltering, filtering, addTab }) {
}}
>
ثبت جدید
-
+
{/* filter */}
{
const [activeSearchBox, setActiveSearchBox] = useState(false);
@@ -17,14 +14,14 @@ export const GlobalFilter = ({ filter, setFilter }) => {
{activeSearchBox && (
setActiveSearchBox(false)}
/>
)}
diff --git a/src/components/Tabels/ReactTable4/Location.js b/src/components/Tabels/ReactTable4/Location.js
index 09625db..f2bc931 100644
--- a/src/components/Tabels/ReactTable4/Location.js
+++ b/src/components/Tabels/ReactTable4/Location.js
@@ -1,5 +1,4 @@
import React from "react";
-import map from "./map.svg";
const Location = () => {
return (
@@ -7,7 +6,11 @@ const Location = () => {
لوکیشن مد نظر:
-
+
);
};
diff --git a/src/components/Tabels/ReactTable4/Pagination.js b/src/components/Tabels/ReactTable4/Pagination.js
index 97559e6..c230775 100644
--- a/src/components/Tabels/ReactTable4/Pagination.js
+++ b/src/components/Tabels/ReactTable4/Pagination.js
@@ -1,7 +1,4 @@
import React from "react";
-import dobleLeftArrow from "./double-left-arrow.svg";
-import leftArrow from "./left-arrow.svg";
-import rightArrow from "./right-arrow.svg";
export const Pagination = ({
gotoPage,
@@ -14,48 +11,51 @@ export const Pagination = ({
return (
);
};
export default Pagination;
-
-// Pagination.defaultProps = {
-// pagintaionButtons: [
-// {
-// image: { dobleLeftArrow },
-// click: gotoPage(0),
-// },
-// ],
-// };
diff --git a/src/components/Tabels/ReactTable4/Settings.js b/src/components/Tabels/ReactTable4/Settings.js
index 7dece26..a8cb526 100644
--- a/src/components/Tabels/ReactTable4/Settings.js
+++ b/src/components/Tabels/ReactTable4/Settings.js
@@ -1,8 +1,6 @@
import React, { useState } from "react";
import { ToggleColumns } from "./ToggleColumns";
-import settings from "./settings.svg";
-
export const Settings = ({ allColumns, getToggleHideAllColumnsProps }) => {
const [openModal, setOpenModal] = useState(false);
console.log(openModal);
@@ -15,7 +13,11 @@ export const Settings = ({ allColumns, getToggleHideAllColumnsProps }) => {
style={{ backgroundColor: "#F9FBFF" }}
className="mr-2 flex flex-col items-center justify-center p-1 rounded"
>
-
+
{/* modal */}
{
@@ -29,9 +27,10 @@ export const SliderColumnFilter = ({
/>
setFilter(undefined)}
className="cursor-pointer w-2 h-2"
+ alt=""
/>
{/*
*/}
diff --git a/src/components/Tabels/ReactTable4/Tabbar.js b/src/components/Tabels/ReactTable4/Tabbar.js
index 353ad1b..2630e28 100644
--- a/src/components/Tabels/ReactTable4/Tabbar.js
+++ b/src/components/Tabels/ReactTable4/Tabbar.js
@@ -1,7 +1,4 @@
import React from "react";
-import "./index.scss";
-
-import cancleIcon from "./zarbedar-icon.svg";
const Tabbar = ({ tabs, delTab, setActivateTab, activeTab }) => {
return (
@@ -46,7 +43,7 @@ const Tabbar = ({ tabs, delTab, setActivateTab, activeTab }) => {
{el.id ? (
{
diff --git a/src/components/Tabels/ReactTable4/index.js b/src/components/Tabels/ReactTable4/index.js
index c1239eb..b727a25 100644
--- a/src/components/Tabels/ReactTable4/index.js
+++ b/src/components/Tabels/ReactTable4/index.js
@@ -3,8 +3,8 @@
import React, { useRef, useState } from "react";
import BasicTable from "./BasicTable";
-import TitleSubtitle from "../MiniComponents/BreadCrumb";
-import BreadCrumb from "../MiniComponents/BreadCrumb";
+import TitleSubtitle from "../../MiniComponents/BreadCrumb";
+import BreadCrumb from "../../MiniComponents/BreadCrumb";
const ReactTable4 = ({ breadCrumbs }) => {
const [tabs, setTabs] = useState([
diff --git a/src/components/Tabels/ReactTable5/Location.js b/src/components/Tabels/ReactTable5/Location.js
index 09625db..f2bc931 100644
--- a/src/components/Tabels/ReactTable5/Location.js
+++ b/src/components/Tabels/ReactTable5/Location.js
@@ -1,5 +1,4 @@
import React from "react";
-import map from "./map.svg";
const Location = () => {
return (
@@ -7,7 +6,11 @@ const Location = () => {
لوکیشن مد نظر:
-
+
);
};