move col row input into indepent dirctories, remove antd.ButtonGroup

This commit is contained in:
afc163 2015-11-20 18:21:59 +08:00
parent 97b6ff7f92
commit 184e378e79
5 changed files with 9 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,7 @@
import Form from './Form';
import FormItem from './FormItem';
import ValueMixin from './ValueMixin';
import Input from './Input';
Form.Item = FormItem;
Form.ValueMixin = ValueMixin;
export default {
Form,
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'),
};