Browse Source

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

pull/566/head
afc163 9 years ago
parent
commit
184e378e79
  1. 2
      components/col/index.js
  2. 6
      components/form/index.jsx
  3. 0
      components/input/index.jsx
  4. 2
      components/row/index.js
  5. 9
      index.js

2
components/col/index.js

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

6
components/form/index.jsx

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

0
components/form/Input.jsx → components/input/index.jsx

2
components/row/index.js

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

9
index.js

@ -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'),
};

Loading…
Cancel
Save