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.

index.tsx 420 B

il y a 2 mois
il y a 3 semaines
il y a 2 mois
1234567891011121314151617
  1. import GeneralLoading from "../General/GeneralLoading";
  2. import SearchPage from "./SearchPage";
  3. import { fetchList } from "@/app/api/stockIssue/actions";
  4. interface SubComponents {
  5. Loading: typeof GeneralLoading;
  6. }
  7. const Wrapper: React.FC & SubComponents = async () => {
  8. const dataList = await fetchList();
  9. return <SearchPage dataList={dataList} />;
  10. };
  11. Wrapper.Loading = GeneralLoading;
  12. export default Wrapper;