I just trying to create a popup using react js I think i did the right code but its not working anymore code below
import ReactModal from ‘react-modal’;
import React, { useState } from ‘react’;
function Example() {
const [isOpen, setIsOpen] = useState(false);
return (
Open Modal
This is the content of the modal.
);
}
export default Example;
please check my content is it right? well I did the full stack development course in Kolkata and get all te idea from my institute please help me thanks for help