react-native-fit-image
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -141,3 +141,7 @@ Object.defineProperty(exports,"__esModule",{value:true});var _jsxFileName='src/FitImage.js';var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value" in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var _react=require('react');var _react2=_interopRequireDefault(_react); | ||
return ( | ||
_react2.default.createElement(_reactNative.Image,_extends({ | ||
_react2.default.createElement(_reactNative.Image,_extends({}, | ||
this.props,{ | ||
onLayout:this.resize, | ||
onLoad:function onLoad(){_this3.setState({isLoading:false});}, | ||
onLoadStart:function onLoadStart(){_this3.setState({isLoading:true});}, | ||
source:this.props.source, | ||
@@ -148,8 +152,4 @@ style:[ | ||
{height:this.state.height}, | ||
styles.container], | ||
styles.container],__source:{fileName:_jsxFileName,lineNumber:141}}), | ||
onLayout:this.resize, | ||
onLoad:function onLoad(){_this3.setState({isLoading:false});}, | ||
onLoadStart:function onLoadStart(){_this3.setState({isLoading:true});}}, | ||
this.props,{__source:{fileName:_jsxFileName,lineNumber:141}}), | ||
@@ -156,0 +156,0 @@ this.renderChildren()));}}]);return FitImage;}(_reactNative.Image); |
{ | ||
"name": "react-native-fit-image", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "Responsive image component to fit perfectly itself.", | ||
@@ -5,0 +5,0 @@ "main": "dist/FitImage.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
10674