You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/form/index.jsx

21 lines
401 B
JavaScript

import Form from './Form';
import FormItem from './FormItem';
import ValueMixin from './ValueMixin';
import createDOMForm from 'rc-form/lib/createDOMForm';
Form.create = (o = {}) => {
const options = {
...o,
fieldNameProp: 'id',
fieldMetaProp: '__meta',
};
return createDOMForm(options);
};
Form.Item = FormItem;
// @Deprecated
Form.ValueMixin = ValueMixin;
export default Form;