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