Early stage of a component library for the HRNet application.
npm i my-modal-component
or yarn add my-modal-component
This package is made for use in a react application. The component is a dialog box which display a content (here it's a confirmation message)
This component need props :
- component : element which is contained inside the dialog-box.
- setModal : function which set the modal state to false when click on close cross or outside of the dialog box.
Please notice : this is a "work in progress" state of project and styles or shapes or not definitive.
Keep in touch :)