FPSMS-frontend
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

index.tsx 420 B

hace 2 meses
hace 3 semanas
hace 2 meses
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;