import { Card, Grid } from "@mui/material";
import { useParams } from "react-router-dom";
import HeaderBreadcrumbs from "../../../components/HeaderBreadcrumbs";
import Page from "../../../components/Page";
import useSettings from "../../../hooks/useSettings";
import CorporateTabNavigations from "../CorporateTabNavigations";
import List from "./List";



export default function CorporateFormularium() {
  const { themeStretch } = useSettings();

  const { corporate_id } = useParams();

  return (
    <Page title="Formularium">

      <HeaderBreadcrumbs
        heading={'Formularium'}
        links={[
          {
            name: 'Corporates',
            href: '/corporates',
          },
          {
            name: 'Corporate Name',
            href: '/corporates/'+corporate_id,
          },
          {
            name: 'Formularium',
            href: '/corporates/'+corporate_id+'/formularium',
          },
        ]}
      />

      <Card>
        <CorporateTabNavigations position={'formularium'} />
        <List />
      </Card>
    </Page>
  );
}
