diff --git a/packages/app/src/components/modal/index.tsx b/packages/app/src/components/modal/index.tsx new file mode 100644 index 0000000000..b734727f30 --- /dev/null +++ b/packages/app/src/components/modal/index.tsx @@ -0,0 +1,41 @@ +import ModalUnstyled from '@mui/base/ModalUnstyled'; +import { styled } from '@/styles'; +import Fade from '@mui/material/Fade'; + +import { ClickAwayListener } from '@mui/material'; + +const StyledModal = styled(ModalUnstyled)` + position: fixed; + z-index: 1300; + right: 0; + bottom: 0; + top: 0; + left: 0; + display: flex; + align-items: center; + justify-content: center; +`; + +type TransitionsModalProps = { + open: boolean; + onClose: () => void; + children: JSX.Element; +}; + +export const Modal = (props: TransitionsModalProps) => { + return ( + + + + {props.children} + + + + ); +};