// import { Dispatch, PropsWithChildren, ReactElement, SetStateAction } from "react";
// import { OverlayWindow } from "../App";

// export function WindowOverlay(props: PropsWithChildren<{overlayWindows: OverlayWindow[]}>) {

//   return <>
//     {props.modal && <div
//       className="modalOuter"
//       onMouseDown={() => props.setModal(null)}>
//     </div>}

//     {props.children}
//   </>;
// }
