react-redux-modal
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -8,2 +8,4 @@ 'use strict'; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _react = require('react'); | ||
@@ -79,5 +81,5 @@ | ||
{ className: 'rrm-body' }, | ||
_react2.default.createElement(this.props.component, { data: this.props.options, remove: function remove() { | ||
_react2.default.createElement(this.props.component, _extends({}, this.props.options, { removeModal: function removeModal() { | ||
return _this2.props.removeModal(_this2.props.id); | ||
} }) | ||
} })) | ||
) | ||
@@ -84,0 +86,0 @@ ) |
{ | ||
"name": "react-redux-modal", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "react-redux-modal is a React modal implemented with Redux", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -68,3 +68,3 @@ ##`react-redux-modal` [demo](http://diegoddox.github.io/react-redux-modal/) | ||
removeThisModal() { | ||
this.props.remove(); | ||
this.props.removeModal(); | ||
} | ||
@@ -71,0 +71,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19153
246