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.

ProgressCashFlowSearchWrapper.tsx 642 B

123456789101112131415161718
  1. import { fetchProjectsCashFlow } from "@/app/api/cashflow";
  2. import React from "react";
  3. import ProgressCashFlowSearch from "./ProgressCashFlowSearch";
  4. import ProgressCashFlowSearchSearchLoading from "./ProgressCashFlowSearchLoading";
  5. interface SubComponents {
  6. Loading: typeof ProgressCashFlowSearchSearchLoading;
  7. }
  8. const ProgressCashFlowSearchWrapper: React.FC & SubComponents = async () => {
  9. const clentprojects = await fetchProjectsCashFlow();
  10. return <ProgressCashFlowSearch projects={clentprojects} />;
  11. };
  12. ProgressCashFlowSearchWrapper.Loading = ProgressCashFlowSearchSearchLoading;
  13. export default ProgressCashFlowSearchWrapper;