mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
remove old compatibility code
This commit is contained in:
parent
384d2e4b7a
commit
96fd67ded0
@ -1,7 +1,6 @@
|
||||
import Form from './Form';
|
||||
import FormItem from './FormItem';
|
||||
import ValueMixin from './ValueMixin';
|
||||
import Input from '../input';
|
||||
import createDOMForm from 'rc-form/lib/createDOMForm';
|
||||
|
||||
Form.create = (o = {}) => {
|
||||
@ -18,10 +17,4 @@ Form.Item = FormItem;
|
||||
// @Deprecated
|
||||
Form.ValueMixin = ValueMixin;
|
||||
|
||||
// 对于 import { Form, Input } from 'antd/lib/form/';
|
||||
// 的方式做向下兼容
|
||||
// https://github.com/ant-design/ant-design/pull/566
|
||||
Form.Form = Form;
|
||||
Form.Input = Input;
|
||||
|
||||
export default Form;
|
||||
|
Loading…
Reference in New Issue
Block a user