mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
Merge branch 'master' of github.com:ant-design/ant-design
This commit is contained in:
commit
162253b232
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,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
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