ocr-p14-modal
v1.0.2
Published
modale de validation pour le p14
Downloads
8
Readme
Modal component
A simple Modal component for React. This component render a modal with a message in the center of the screen.
Exemple:
render a modal with a message in the center of the screen
Configuration
The component needs two props :
- {message} : write here the message you want to display in the modal.
- {onClose} : handler to close the modal. You will have to add a handle closing function in your file.
Installation
The package can be installed via npm :
npm i ocr-p14-modal