Package Exports
- matt-fr-react-modal
- matt-fr-react-modal/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (matt-fr-react-modal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Modal Librairy
A library of a React component created using create-react-app.
This component is a modal in which you can place a message in it, the modal will be in the center of your page.
How to install
run the following command :
npm i matt-fr-react-modalHow to use
import { Modal } from "matt-fr-react-modal";
import { useState } from "react";
const [openModal, setOpenModal] = useState(false);
<Modal
message="Your Message"
openModal={openModal}
setOpenModal={setOpenModal}/>