- simple-component-modal
this project represents part of the project of my Openclassrooms training of project 14 which consists in redesigning an application from JQuery to React during which I had the duty to convert a library and publish it on NPM.
- import the Modal function of the installed component as follows:
import { Modal } from '@loic-anael/simple-component-modal'
- it is important to know that the Modal function takes as parameters two props which are
text
andcloseModal
and insert the function in your target component following the example below - {isShow && }