import React from 'react'; import Modal from 'react-modal'; const customModalStyles = { content: { width: '90%', // Adjust the width as needed margin: 'auto', }, }; const ModalComponent = ({ isOpen, closeModal, content }) => { return ( {content} ); }; export default ModalComponent;