8.0.0 • Published 2 years ago
modal-openc-library v8.0.0
modal-openc-library
A library of React components created using create-react-app
.## Installation
Run the following command:
npm install modal-openc-library
Change Size
Use size="small" for Max-Width = 500px Use size="big" for Maw-Width = 700px
Choose Title
Use title="My Title example" for add a title to the modal.
Update CSS
For updated CSS : Copy Paste the Modal.module.css on your project. Use variable for easy changes --paddingModal : 2rem; --fontFamilyModal : Arial, Helvetica, sans-serif; --backgroundBehind : rgba(0, 0, 0, 0.5); --backgroundModal : white; --TitleTextColor : black; --TitleTextSize : 20px; --TilePaddingBottom : 1.5rem; --BodyTextColor : #3b3b3b; --BodyTextSize : 14px;