first commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
"use client";
|
||||
|
||||
import { CustomTabs, TabArray } from "ikoncomponents";
|
||||
import GradeDataTable from "../grade-table";
|
||||
import RoleDataTable from "../role-table";
|
||||
|
||||
const tabArray: TabArray[] = [
|
||||
{
|
||||
tabName: "Role",
|
||||
tabId: "tab-role",
|
||||
default: true,
|
||||
tabContent: <RoleDataTable />,
|
||||
},
|
||||
{
|
||||
tabName: "Grade",
|
||||
tabId: "tab-grade",
|
||||
default: false,
|
||||
tabContent: <GradeDataTable />,
|
||||
},
|
||||
];
|
||||
|
||||
export default function CompanyDataTab() {
|
||||
return (
|
||||
<div className="p-4">
|
||||
<CustomTabs tabArray={tabArray} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user