@avinlab/react-size-me
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -95,9 +95,4 @@ 'use strict'; | ||
className = _this$props2.className; | ||
var containerStyle = { | ||
width: 0, | ||
height: 0, | ||
overflow: 'visible' | ||
}; | ||
return React.createElement("div", _extends({ | ||
style: _extends({}, containerStyle, style), | ||
style: style, | ||
className: className | ||
@@ -104,0 +99,0 @@ }, { |
@@ -91,9 +91,4 @@ import _extends from '@babel/runtime/helpers/esm/extends'; | ||
className = _this$props2.className; | ||
var containerStyle = { | ||
width: 0, | ||
height: 0, | ||
overflow: 'visible' | ||
}; | ||
return React.createElement("div", _extends({ | ||
style: _extends({}, containerStyle, style), | ||
style: style, | ||
className: className | ||
@@ -100,0 +95,0 @@ }, { |
{ | ||
"name": "@avinlab/react-size-me", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "React component to determine parent container size", | ||
@@ -5,0 +5,0 @@ "author": "Avin Grape <carcinogen75@gmail.com> (https://github.com/avin/)", |
@@ -125,10 +125,4 @@ //@flow | ||
const containerStyle = { | ||
width: 0, | ||
height: 0, | ||
overflow: 'visible', | ||
}; | ||
return ( | ||
<div {...{ style: { ...containerStyle, ...style }, className }} ref={i => (this._root = i)}> | ||
<div {...{ style, className }} ref={i => (this._root = i)}> | ||
{this._renderContent()} | ||
@@ -135,0 +129,0 @@ </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
14728
284