gatsby-image
Advanced tools
Comparing version 1.0.4 to 1.0.5
14
index.js
@@ -160,3 +160,8 @@ "use strict"; | ||
}), | ||
image.base64 && _react2.default.createElement(Img, { alt: alt, title: title, src: image.base64, opacity: 1 }), | ||
image.base64 && _react2.default.createElement(Img, { | ||
alt: alt, | ||
title: title, | ||
src: image.base64, | ||
opacity: !this.state.imgLoaded ? 1 : 0 | ||
}), | ||
backgroundColor && _react2.default.createElement("div", { | ||
@@ -202,3 +207,8 @@ title: title, | ||
}, | ||
_image.base64 && _react2.default.createElement(Img, { alt: alt, title: title, src: _image.base64, opacity: 1 }), | ||
_image.base64 && _react2.default.createElement(Img, { | ||
alt: alt, | ||
title: title, | ||
src: _image.base64, | ||
opacity: !this.state.imgLoaded ? 1 : 0 | ||
}), | ||
backgroundColor && _react2.default.createElement("div", { | ||
@@ -205,0 +215,0 @@ title: title, |
{ | ||
"name": "gatsby-image", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Lazy-loading React image component with optional support for the blur-up effect.", | ||
@@ -5,0 +5,0 @@ "main": "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
8834
216