mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
move col row input into indepent dirctories, remove antd.ButtonGroup
This commit is contained in:
parent
97b6ff7f92
commit
184e378e79
2
components/col/index.js
Normal file
2
components/col/index.js
Normal file
@ -0,0 +1,2 @@
|
||||
import { Col } from '../layout';
|
||||
export default Col;
|
@ -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
2
components/row/index.js
Normal file
@ -0,0 +1,2 @@
|
||||
import { Row } from '../layout';
|
||||
export default Row;
|
9
index.js
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…
Reference in New Issue
Block a user