|
|
@ -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 |
|
|
|
<Tabbar |
|
|
|
tabs={tabs} |
|
|
|
tabs={tabs} |
|
|
|
delTab={delTab} |
|
|
|
delTab={delTab} |
|
|
|
setActivateTab={setActivateTab} |
|
|
|
setActivateTab={setActivateTab} |
|
|
|
activeTab={activeTab} |
|
|
|
activeTab={activeTab} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</di> |
|
|
|
|
|
|
|
{/* <div className=""> |
|
|
|
|
|
|
|
<Tabbar |
|
|
|
|
|
|
|
tabs={tabs} |
|
|
|
|
|
|
|
delTab={delTab} |
|
|
|
|
|
|
|
setActivateTab={setActivateTab} |
|
|
|
|
|
|
|
activeTab={activeTab} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</div> */} |
|
|
|
{/* left box */} |
|
|
|
{/* left box */} |
|
|
|
{activeTab == 0 ? ( |
|
|
|
{activeTab == 0 ? ( |
|
|
|
<div |
|
|
|
<div |
|
|
|