react-page-layout
Advanced tools
Comparing version 0.9.5 to 0.9.6
@@ -54,3 +54,4 @@ 'use strict'; | ||
if ((0, _lodash2.default)(parent)) { | ||
if (_react2.default.Component.isPrototypeOf(_Section2.default) || _react2.default.PureComponent.isPrototypeOf(_Section2.default)) { | ||
// Check if the element is a section | ||
if (parent.type && parent.type.displayName === 'Section') { | ||
return _defineProperty({}, parent.props.slot, parent); | ||
@@ -57,0 +58,0 @@ } |
@@ -41,2 +41,3 @@ 'use strict'; | ||
Section.displayName = 'Section'; | ||
Section.propTypes = { | ||
@@ -43,0 +44,0 @@ slot: _react.PropTypes.string.isRequired, |
{ | ||
"name": "react-page-layout", | ||
"version": "0.9.5", | ||
"version": "0.9.6", | ||
"description": "Layout system for react", | ||
@@ -29,3 +29,3 @@ "author": "Jose R Villalon Soler", | ||
"babel-preset-react": "^6.23.0", | ||
"babel-preset-stage-0": "^6.22.0", | ||
"babel-preset-stage-2": "^6.24.0", | ||
"eslint": "^3.17.0", | ||
@@ -32,0 +32,0 @@ "eslint-config-airbnb": "^14.1.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1218769
795