react-resizable-box
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -35,2 +35,4 @@ 'use strict'; | ||
// alert('hi from rrb') | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Risizable).call(this, props)); | ||
@@ -57,3 +59,5 @@ | ||
} | ||
//TODO: autoSize: PropTypes.bool | ||
_createClass(Risizable, [{ | ||
@@ -178,4 +182,4 @@ key: 'componentDidMount', | ||
var style = { | ||
width: this.state.width ? this.state.width + 'px' : '', | ||
height: this.state.height ? this.state.height + 'px' : '' | ||
width: this.state.width ? this.state.width + 'px' : '100%', | ||
height: this.state.height ? this.state.height + 'px' : '100%' | ||
}; | ||
@@ -243,4 +247,5 @@ var _props2 = this.props; | ||
maxWidth: _react.PropTypes.number, | ||
maxHeight: _react.PropTypes.number | ||
}; | ||
maxHeight: _react.PropTypes.number, | ||
fullWidth: _react.PropTypes.bool, | ||
fullHeight: _react.PropTypes.bool }; | ||
Risizable.defaultProps = { | ||
@@ -247,0 +252,0 @@ onResizeStart: function onResizeStart() { |
{ | ||
"name": "react-resizable-box", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"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
21998
313