You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
549 B
18 lines
549 B
import InternalForm, { useForm } from './Form';
|
|
import Item from './FormItem';
|
|
import ErrorList from './ErrorList';
|
|
import List from './FormList';
|
|
import { FormProvider } from './context';
|
|
import devWarning from '../_util/devWarning';
|
|
var Form = InternalForm;
|
|
Form.Item = Item;
|
|
Form.List = List;
|
|
Form.ErrorList = ErrorList;
|
|
Form.useForm = useForm;
|
|
Form.Provider = FormProvider;
|
|
|
|
Form.create = function () {
|
|
devWarning(false, 'Form', 'antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.');
|
|
};
|
|
|
|
export default Form; |