@ -123,4 +123,4 @@ const Affix = React.createClass({
});
module.exports = Affix;
export default Affix;
@ -42,4 +42,4 @@ const animation = {
},
};
module.exports = animation;
export default animation;
@ -1,7 +1,7 @@
import React from 'react';
import classNames from 'classnames';
class Form extends React.Component {
export default class Form extends React.Component {
getChildContext() {
return {
form: this.props.form,
@ -40,5 +40,3 @@ Form.defaultProps = {
Form.childContextTypes = {
form: React.PropTypes.object,
module.exports = Form;
@ -7,7 +7,7 @@ function prefixClsFn(prefixCls, ...args) {
}).join(' ');
}
class FormItem extends React.Component {
export default class FormItem extends React.Component {
_getLayoutClass(colDef) {
if (!colDef) {
return '';
@ -191,5 +191,3 @@ FormItem.defaultProps = {
FormItem.contextTypes = {
module.exports = FormItem;
@ -123,5 +123,5 @@ Input.defaultProps = {
type: 'text',
module.exports = Input;
module.exports.Group = Group;
Input.Group = Group;
export default Input;
@ -1,4 +1,4 @@
module.exports = {
export default {
Pagination: require('rc-pagination/lib/locale/en_US'),
DatePicker: require('../date-picker/locale/en_US'),
TimePicker: require('../time-picker/locale/en_US'),