import React from "react";
import CreateWarehouse from "./CreateWarehouse";
import CreateWarehouseLoading from "./CreateWarehouseLoading";

interface SubComponents {
  Loading: typeof CreateWarehouseLoading;
}

const CreateWarehouseWrapper: React.FC & SubComponents = async () => {
  return <CreateWarehouse />;
};

CreateWarehouseWrapper.Loading = CreateWarehouseLoading;

export default CreateWarehouseWrapper;
