|
@ -7,7 +7,7 @@ function prefixClsFn(prefixCls, ...args) { |
|
|
}).join(' '); |
|
|
}).join(' '); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
class FormItem extends React.Component { |
|
|
export default class FormItem extends React.Component { |
|
|
_getLayoutClass(colDef) { |
|
|
_getLayoutClass(colDef) { |
|
|
if (!colDef) { |
|
|
if (!colDef) { |
|
|
return ''; |
|
|
return ''; |
|
@ -191,5 +191,3 @@ FormItem.defaultProps = { |
|
|
FormItem.contextTypes = { |
|
|
FormItem.contextTypes = { |
|
|
form: React.PropTypes.object, |
|
|
form: React.PropTypes.object, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
module.exports = FormItem; |
|
|
|
|
|