import { Upload } from 'antd';
import { uploadFile } from '@/utils/upload'

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