您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

19 行
642 B

  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;