remove ref in Icon

This commit is contained in:
afc163 2015-12-04 15:06:36 +08:00
parent 055d3b406c
commit 6b4d7b3622

View File

@ -32,8 +32,7 @@ export default React.createClass({
<div className={prefixCls + '-list-item-info'}>
<Icon type="paper-clip" />
<span className="ant-upload-item-name">{file.name}</span>
<Icon type="cross" ref="theCloseBtn"
onClick={this.handleClose.bind(this, file)} />
<Icon type="cross" onClick={this.handleClose.bind(this, file)} />
</div>
{ progress }
</div>