import { processData } from "./dummyData";
import ProductionProcess from "./ProductionProcess";
import ProductionProcessLoading from "./ProductionProcessLoading";

interface SubComponents {
  Loading: typeof ProductionProcessLoading;
}

const ProductionProcessWrapper: React.FC & SubComponents = async () => {
  return (
    <>
      <h3>p</h3>
      <ProductionProcess processes={processData} />
    </>
  );
};

ProductionProcessWrapper.Loading = ProductionProcessLoading;

export default ProductionProcessWrapper;
