0.0.1 • Published 10 years ago
@yuanqing/react-redux-modal v0.0.1
react-redux-modal 
Credit
This implementation is primarily based off this StackOverflow answer by Dan Abramov.
Features
- Stores the following information in the Redux store:
- Whether the modal is visible (
isVisible) - The modal type (
modalType) - Data for the modal being rendered (
modalProps) - Configuration object for customising the modal behavior (
settingsPropswhich containshouldHideOnOverlayClickandshouldHideOnEscapeKeyDown)
- Whether the modal is visible (
- Exposes class name hooks for styling of modal subcomponents
- Allows server-side rendering of the modal
Example
$ git clone
$ npm install react redux react-redux
$ npm install
$ npm install --global gulp
$ gulp example --openInstallation
Install via npm:
$ npm i --save @yuanqing/react-redux-modalPrior art
License
0.0.1
10 years ago