1.0.12 • Published 1 year ago

react-modal-jcto v1.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

react-modal-jcto

A simple responsive and customizable modal for React projects.

Project Image

1. Author

Jean Chane-to

2. Installation

npm install react-modal-jcto

3. Usage

import Modal from 'react-modal-jcto' Use as react component :

Text content

Use the prop modalText and pass in your modal text as a string

Styling

Use the following props:

modalBackgroundStyle: pass inline styling for modal background

modalBodyStyle: pass inline styling for modal body

modalButtonStyle: pass inline styling for modal close button

closeModalFunction: point your modal close function

modalTextStyle: pass inline styling for modal text

3. Example

Project Image

Hope this helps!

Happy programming!

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.8

1 year ago

1.0.0

1 year ago