import o from "../_util/warning.mjs";
import m from "./ErrorList.mjs";
import e from "./Form.mjs";
import t from "./FormItem/index.mjs";
import i from "./FormList.mjs";
import { FormProvider as s } from "./context.mjs";
import a from "./hooks/useFormInstance.mjs";
import n from "./hooks/useForm.mjs";
import p from "../../../rc-field-form/es/useWatch.mjs";
import "../../../rc-field-form/es/index.mjs";
const r = e;
r.Item = t;
r.List = i;
r.ErrorList = m;
r.useForm = n;
r.useFormInstance = a;
r.useWatch = p;
r.Provider = s;
r.create = () => {
  process.env.NODE_ENV !== "production" && o(!1, "Form", "antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.");
};
const P = r;
export {
  P as default
};
