Merge branch 'master' of github.com:ant-design/ant-design

This commit is contained in:
afc163 2015-11-20 21:08:03 +08:00
commit 162253b232
5 changed files with 17 additions and 10 deletions

2
components/col/index.js Normal file
View File

@ -0,0 +1,2 @@
import { Col } from '../layout';
export default Col;

View File

@ -1,11 +1,15 @@
import Form from './Form';
import FormItem from './FormItem';
import ValueMixin from './ValueMixin';
import Input from './Input';
import Input from '../input';
Form.Item = FormItem;
Form.ValueMixin = ValueMixin;
export default {
Form,
Input
};
// 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;

2
components/row/index.js Normal file
View File

@ -0,0 +1,2 @@
import { Row } from '../layout';
export default Row;

View File

@ -36,13 +36,12 @@ const antd = {
Menu: require('./components/menu'),
Timeline: require('./components/timeline'),
Button: require('./components/button'),
ButtonGroup: require('./components/button').Group,
Icon: require('./components/icon'),
Row: require('./components/layout').Row,
Col: require('./components/layout').Col,
Row: require('./components/row'),
Col: require('./components/col'),
Spin: require('./components/spin'),
Form: require('./components/form').Form,
Input: require('./components/form').Input,
Form: require('./components/form'),
Input: require('./components/input'),
Calendar: require('./components/calendar'),
Timepicker: require('./components/timepicker'),
};