0.1.0 • Published 5 years ago

react-modal-lite v0.1.0

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

react-modal-lite

A React modal.

Props

children node (required) Contents to display in modal.

defaultVisible bool Set true to show the modal on mount. Default is false.

disableEscape bool Disable hiding the modal on escape key press. Default is false.

disableClickOut bool Disable hiding the modal when clicking outside of the modal. Default is false.

isVisible bool Whether or not the modal is visible.

onClose func Function called when the modal is hidden.

showCloseButton bool Show close button that hides the modal when clicked. Default is false.

className string CSS class name to be applied to the outer-most container.

foregroundClassName string CSS class name to be applied to the modal foreground.

style object Styles for the modal applied to the outer-most container.

License

MIT

0.1.0

5 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago