update App.js, src/components/ReactTable4/index.js, src/components/ReactTable5/index.js and src/index.scss

master
mahdi 3 years ago
parent b3c1e80dd5
commit fb60845634
  1. 4
      src/App.js
  2. 3
      src/components/ReactTable4/index.js
  3. 1
      src/components/ReactTable5/index.js

@ -64,7 +64,6 @@ import OutlineInput from "./components/OutlineInput";
import CancleIcon from "./components/CancleIcon"; import CancleIcon from "./components/CancleIcon";
import ButtonNewDesign from "./components/ButtonNewDesign"; import ButtonNewDesign from "./components/ButtonNewDesign";
import TimeLineComponent from "./components/TimeLineComponent"; import TimeLineComponent from "./components/TimeLineComponent";
import TitleSubtitle from "./components/TitleSubtitle"; import TitleSubtitle from "./components/TitleSubtitle";
import TimeLine from "./components/TimeLineComponent/Timeline"; import TimeLine from "./components/TimeLineComponent/Timeline";
import ProfilePicNextToEachOther from "./components/ProfilePicNextToEachOther"; import ProfilePicNextToEachOther from "./components/ProfilePicNextToEachOther";
@ -83,7 +82,6 @@ import CardDesign2 from "./components/CardDesign2";
import ButtonDivTag from "./components/ButtonDivTag"; import ButtonDivTag from "./components/ButtonDivTag";
import Button from "./components/Button"; import Button from "./components/Button";
import LeafletMap from "./components/LeafletMap"; import LeafletMap from "./components/LeafletMap";
import TestComponentNew from "./components/TestComponentNew"; import TestComponentNew from "./components/TestComponentNew";
import DateRangePicker from "./components/DateRangePicker"; import DateRangePicker from "./components/DateRangePicker";
import BoxNextToEachOther from "./components/BoxNextToEachOther"; import BoxNextToEachOther from "./components/BoxNextToEachOther";
@ -189,7 +187,7 @@ function App() {
{/* <FolderTree /> */} {/* <FolderTree /> */}
{/* ----------------------------$$$ end---------------------------- */} {/* ----------------------------$$$ end---------------------------- */}
{/* <ReactTable4 /> */} <ReactTable4 />
{/* <ReactTable5 /> */} {/* <ReactTable5 /> */}
{/* ----------------------------$$$ start---------------------------- */} {/* ----------------------------$$$ start---------------------------- */}

@ -14,6 +14,7 @@ const ReactTable4 = ({ breadCrumbs, subTitle, title }) => {
const [tabs, setTabs] = useState([ const [tabs, setTabs] = useState([
{ name: "جدول " + breadCrumbs[breadCrumbs.length - 1].name, id: 0 }, { name: "جدول " + breadCrumbs[breadCrumbs.length - 1].name, id: 0 },
]); ]);
let [activeTab, setActivateTab] = useState(0); let [activeTab, setActivateTab] = useState(0);
const stateRef = useRef(); const stateRef = useRef();
@ -59,7 +60,7 @@ const ReactTable4 = ({ breadCrumbs, subTitle, title }) => {
))} ))}
</div> </div>
<div className="my-7"> <div className="my-7">
<TitleSubtitle titleBorderClassName={"ml-2"} /> <TitleSubtitle titleBorderClassName={"ml-1 w-1 h-6 bg-red-400"} />
</div> </div>
<BasicTable <BasicTable
addTab={addTab} addTab={addTab}

@ -14,6 +14,7 @@ const ReactTable5 = ({ breadCrumbs, breadCrumb }) => {
const [tabs, setTabs] = useState([ const [tabs, setTabs] = useState([
{ name: "جدول " + breadCrumbs[breadCrumbs.length - 1].name, id: 0 }, { name: "جدول " + breadCrumbs[breadCrumbs.length - 1].name, id: 0 },
]); ]);
let [activeTab, setActivateTab] = useState(0); let [activeTab, setActivateTab] = useState(0);
const stateRef = useRef(); const stateRef = useRef();

Loading…
Cancel
Save