import React from "react";
import { FileUploader as BaseFileUpload } from "baseui/file-uploader";

export interface FileUploadProps {
  onCancel: () => void;
  onDrop: (acceptedFiles: any, rejectedFiles: any) => void;
  progressAmount: number;
  progressMessage: string;
}

/**
 * This is the `<FileUpload>` component <br />
 *  Use this to create a "pop-over" window
 */
const FileUpload: React.FC<FileUploadProps> = (props) => {
  return <BaseFileUpload {...props} />;
};

export default FileUpload;
