"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>
  );
}
