Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-resizable-box

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resizable-box - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

13

lib/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc