From 02936bcdabb5e2550b12fa94d435fdbcff348f71 Mon Sep 17 00:00:00 2001 From: rohan09-raj Date: Sun, 21 Aug 2022 20:05:34 +0530 Subject: added modal --- client/src/components/Modal/ExtendedModal.jsx | 89 +++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 client/src/components/Modal/ExtendedModal.jsx (limited to 'client/src/components/Modal/ExtendedModal.jsx') diff --git a/client/src/components/Modal/ExtendedModal.jsx b/client/src/components/Modal/ExtendedModal.jsx new file mode 100644 index 0000000..c181b14 --- /dev/null +++ b/client/src/components/Modal/ExtendedModal.jsx @@ -0,0 +1,89 @@ +import React from 'react' +import { Modal, Box, Button } from '@mui/material' +import styles from './ExtendedModal.module.css' +import { Container } from '@mui/system' + +const ExtendedPopUpModal = ({ + title, + description1, + image1, + description2, + image2, + description3, + image3 +}) => { + 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 ( +
+ + + +

+ {title} +

+ + + +

{description1}

+
+ +

{description2}

+ +
+ + +

{description3}

+
+
+
+
+
+ ) +} + +export default ExtendedPopUpModal -- cgit