Skip to content

Commit

Permalink
move col row input into indepent dirctories, remove antd.ButtonGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 20, 2015
1 parent 97b6ff7 commit 184e378
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 2 additions & 0 deletions components/col/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { Col } from '../layout';
export default Col;
6 changes: 1 addition & 5 deletions components/form/index.jsx
Original file line number Diff line number Diff line change
@@ -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;
File renamed without changes.
2 changes: 2 additions & 0 deletions components/row/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { Row } from '../layout';
export default Row;
9 changes: 4 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
};
Expand Down

0 comments on commit 184e378

Please sign in to comment.