import { Upload } from 'antd';
import { uploadFile } from './request'

export default (props) => {
  return (
    <Upload {...props} customRequest={uploadFile} >
      {props.children}
    </Upload>
  )
}
