master
mahdi andalib 3 years ago
parent 92f5d1abdf
commit 3bcf0d6bf3
  1. BIN
      build.zip
  2. 14
      src/components/ReactTable4/BasicTable.js

Binary file not shown.

@ -2,6 +2,8 @@ import React, { useMemo, useState } from "react";
import "./index.scss"; import "./index.scss";
import TabBar from "../ReactTable3/TabBar";
import Tabbar from "./Tabbar"; import Tabbar from "./Tabbar";
import MOCK_DATA from "./MOCK_DATA.json"; import MOCK_DATA from "./MOCK_DATA.json";
@ -146,14 +148,22 @@ const BasicTable = ({
<> <>
<div className="flex flex-row items-center justify-between"> <div className="flex flex-row items-center justify-between">
{/* right box */} {/* right box */}
<div className=""> <di className="bg-red-400">
<Tabbar
tabs={tabs}
delTab={delTab}
setActivateTab={setActivateTab}
activeTab={activeTab}
/>
</di>
{/* <div className="">
<Tabbar <Tabbar
tabs={tabs} tabs={tabs}
delTab={delTab} delTab={delTab}
setActivateTab={setActivateTab} setActivateTab={setActivateTab}
activeTab={activeTab} activeTab={activeTab}
/> />
</div> </div> */}
{/* left box */} {/* left box */}
{activeTab == 0 ? ( {activeTab == 0 ? (
<div <div

Loading…
Cancel
Save