import React from 'react'; import Animate from 'rc-animate'; import Icon from '../icon'; const prefixCls = 'ant-upload'; import { Line } from '../progress'; export default React.createClass({ getDefaultProps() { return { items: [], progressAttr: { strokeWidth: 3, showInfo: false } }; }, handleClose(file) { this.props.onRemove(file); }, render() { let list = this.props.items.map((file) => { let progress; let infoUploadingClass = ''; if (file.status === 'uploading') { progress =