0.1.6 • Published 8 years ago

unsullied-react-modal v0.1.6

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

react-simple-modal

Very simple react component that presents content via modal.

Params

header {String} Header that appears above modal.

disableClose {Boolean} true will disable the modal from closing, false default will allow user to close.

closeModal {Number} Increment this property to trigger the modal to close.

handleClose {Method} callback method that is executed after close.

Images

To get the close icon working - you will need to copy the unsullied-close.svg into your image assets directory, and reference it with this css:

.unsullied-icon-close {
  background-image: url('/path/to/images/assets/unsullied-close.svg');
}
0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago