0.7.0 • Published 10 months ago
react-component-modal-eric-leroux v0.7.0
This modal is an easy and ready-to-use react component that you can use in your project.
Installation
Run npm install react-component-modal-eric-leroux
in your project
How to use
Import the modal in the component you want to use it
import { ModalComponent } from "react-component-modal-eric-leroux";
In your code
Now you just have to use it like a react component:
<ModalComponent>
'Enter the code you want in your modal here'
</ModalComponent>