react-responsive
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "react-responsive", | ||
"description": "Media queries in react for responsive design", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"homepage": "http://github.com/wearefractal/react-responsive", | ||
@@ -31,3 +31,3 @@ "repository": { | ||
"peerDependencies": { | ||
"react": "^0.12.0 || ^0.13.0 || ^0.14.0" | ||
"react": "^0.12.0 || ^0.13.0 || ^0.14.0 || ^15.0.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -98,3 +98,3 @@ 'use strict'; | ||
var props = omit(this.props, excludedPropKeys); | ||
if (this.props.component || this.props.children.length > 1) { | ||
if (this.props.component || React.Children.count(this.props.children) > 1) { | ||
return React.createElement( | ||
@@ -101,0 +101,0 @@ this.props.component || 'div', |
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
1542619