import React from "react"; const Modal = () => { return ( <> {/* You can open the modal using document.getElementById('ID').showModal() method */} document.getElementById("my_modal_4").showModal()} > open modal Hello! Click the button below to close {/* if there is a button, it will close the modal */} Close > ); }; export default Modal;
Click the button below to close