import { fetchProjectsCashFlow } from "@/app/api/cashflow"; import React from "react"; import ProgressCashFlowSearch from "./ProgressCashFlowSearch"; import ProgressCashFlowSearchSearchLoading from "./ProgressCashFlowSearchLoading"; interface SubComponents { Loading: typeof ProgressCashFlowSearchSearchLoading; } const ProgressCashFlowSearchWrapper: React.FC & SubComponents = async () => { const clentprojects = await fetchProjectsCashFlow(); return ; }; ProgressCashFlowSearchWrapper.Loading = ProgressCashFlowSearchSearchLoading; export default ProgressCashFlowSearchWrapper;