remove old compatibility code

This commit is contained in:
afc163 2016-04-28 17:18:36 +08:00
parent 384d2e4b7a
commit 96fd67ded0

View File

@ -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;