/**
 * Form 组件
 * 完全继承antd Form组件，目的是为了能在antd低版本的项目（例如社招、校招项目）中能够使用v4版本的Form组件；
 * 这里唯一需要做的就是继承当前组件库项目的上下文属性，保证组件库组件的一致性
 */
import React from 'react';
import { Form } from 'antd';
import { useConfig } from "../_util/hooks";
var RefForm = function RefForm(props) {
  return useConfig( /*#__PURE__*/React.createElement(Form, props));
};
RefForm.Item = Form.Item;
RefForm.List = Form.List;
RefForm.ErrorList = Form.ErrorList;
RefForm.Provider = Form.Provider;
RefForm.create = Form.create;
RefForm.useForm = Form.useForm;
RefForm.useFormInstance = Form.useFormInstance;
RefForm.useWatch = Form.useWatch;
export default RefForm;