FPSMS-frontend
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

23 lignes
733 B

  1. import { SearchParams } from "@/app/utils/fetchUtil";
  2. import { TypeEnum } from "@/app/utils/typeEnum";
  3. import CreateEquipmentType from "@/components/CreateEquipment";
  4. import { I18nProvider, getServerI18n } from "@/i18n";
  5. import { Typography } from "@mui/material";
  6. import isString from "lodash/isString";
  7. type Props = {} & SearchParams;
  8. const materialSetting: React.FC<Props> = async ({ searchParams }) => {
  9. // const type = TypeEnum.PRODUCT;
  10. const { t } = await getServerI18n("common");
  11. return (
  12. <>
  13. {/* <Typography variant="h4">{t("Create Material")}</Typography> */}
  14. <I18nProvider namespaces={["common"]}>
  15. <CreateEquipmentType />
  16. </I18nProvider>
  17. </>
  18. );
  19. };
  20. export default materialSetting;