import React from "react";
import { Modal as BaseModal } from "baseui/modal";

export interface ModalProps {
  children: React.ReactNode;
  onClose: () => void;
  isOpen: boolean;
}

/**
 * This is the `<Modal>` component <br />
 *  Use this to gather files from the user
 */
const Modal: React.FC<ModalProps> = (props) => {
  return <BaseModal {...props}>{props.children}</BaseModal>;
};

export default Modal;
