getting rid of some code duplication
This commit is contained in:
parent
0266675f29
commit
970b9d850e
21 changed files with 325 additions and 302 deletions
14
src/App/Overlays/WindowOverlay.tsx
Normal file
14
src/App/Overlays/WindowOverlay.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// 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}
|
||||
// </>;
|
||||
// }
|
||||
Loading…
Add table
Add a link
Reference in a new issue