fix className

This commit is contained in:
afc163 2015-12-14 11:45:35 +08:00
parent 759baedadd
commit 721c00e925

View File

@ -211,7 +211,7 @@ const AntUpload = React.createClass({
let draggingClass = this.state.dragState === 'dragover'
? `${prefixCls}-drag-hover` : '';
return (
<span>
<span className={this.props.className}>
<div className={prefixCls + ' ' + prefixCls + '-drag '
+ dragUploadingClass + ' ' + draggingClass}
onDrop={this.onFileDrop}