unsullied-react-modal

0.1.6 • Public • Published

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');
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.6
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.6
    0
  • 0.1.5
    0
  • 0.1.4
    0

Package Sidebar

Install

npm i unsullied-react-modal

Weekly Downloads

0

Version

0.1.6

License

MIT

Last publish

Collaborators

  • moog16
  • ryanirilli