From d391caf122fcdf7ff4a9e227748b9a10242b15d6 Mon Sep 17 00:00:00 2001 From: rohan09-raj Date: Thu, 18 Aug 2022 19:25:08 +0530 Subject: added assets and modal --- client/src/components/Modal/Modal.jsx | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 client/src/components/Modal/Modal.jsx (limited to 'client/src/components/Modal') diff --git a/client/src/components/Modal/Modal.jsx b/client/src/components/Modal/Modal.jsx new file mode 100644 index 0000000..312d01e --- /dev/null +++ b/client/src/components/Modal/Modal.jsx @@ -0,0 +1,42 @@ +import React from 'react' +import { Modal, Typography, Box, Button } from '@mui/material' + +const PopUpModal = () => { + const style = { + position: 'absolute', + top: '50%', + left: '50%', + transform: 'translate(-50%, -50%)', + width: 1000, + bgcolor: 'background.paper', + borderRadius: '10px', + boxShadow: 24, + p: 4 + } + const [open, setOpen] = React.useState(false) + const handleOpen = () => setOpen(true) + const handleClose = () => setOpen(false) + + return ( + <> + + + + + Text in a modal + + + Duis mollis, est non commodo luctus, nisi erat porttitor ligula. + + + + + ) +} + +export default PopUpModal -- cgit