1.0.6 • Published 1 year ago

react-modal-rml v1.0.6

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.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago