import * as React from 'react';

interface AntUploadProps {

  className?: string;
  maxSize?: number|boolean; //文件大小限制，默认2
  accept?: string;
  typeErrorMessage?: string;
  sizeErrorMessage?: string; //文件大小超出限制时的错误提示
  uploadType?: string;
  beforeUpload?: (val: string) => void;
  customUpload?: (val: string) => void;
  children?: React.ReactNode;
  toBase64?:boolean;
  imageCompress?: boolean;
}

class AntUpload extends React.Component<AntUploadProps> {}

export default AntUpload;
