react-resizable-box
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -64,2 +64,11 @@ 'use strict'; | ||
}, { | ||
key: 'componentWillReceiveProps', | ||
value: function componentWillReceiveProps(_ref) { | ||
var width = _ref.width; | ||
var height = _ref.height; | ||
if (width !== this.props.width) this.setState({ width: width }); | ||
if (height !== this.props.height) this.setState({ height: height }); | ||
} | ||
}, { | ||
key: 'componentWillUnmount', | ||
@@ -79,5 +88,5 @@ value: function componentWillUnmount() { | ||
key: 'onMouseMove', | ||
value: function onMouseMove(_ref) { | ||
var clientX = _ref.clientX; | ||
var clientY = _ref.clientY; | ||
value: function onMouseMove(_ref2) { | ||
var clientX = _ref2.clientX; | ||
var clientY = _ref2.clientY; | ||
var _state = this.state; | ||
@@ -84,0 +93,0 @@ var direction = _state.direction; |
{ | ||
"name": "react-resizable-box", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
22065
318