npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

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

install

npm i unsullied-react-modal

Downloadsweekly downloads

1

version

0.1.6

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability