🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

react-component-image-gallery

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-component-image-gallery - npm Package Compare versions

Comparing version
1.0.4
to
1.0.5
+2
-2
API.md

@@ -10,3 +10,3 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->

[src/components/Gallery.js:45-93](https://github.com/m860/react-component-image-gallery/blob/9f9a99cdb2e263ddd3f9aca9f9bc82feb6f2d8b5/src/components/Gallery.js#L45-L93 "Source code on GitHub")
[src/components/Gallery.js:45-93](https://github.com/m860/react-component-image-gallery/blob/4792c1e041bd58eae1484b7f985b99bc9ac727e5/src/components/Gallery.js#L45-L93 "Source code on GitHub")

@@ -60,3 +60,3 @@ **Extends PureComponent**

[src/components/Gallery.js:53-62](https://github.com/m860/react-component-image-gallery/blob/9f9a99cdb2e263ddd3f9aca9f9bc82feb6f2d8b5/src/components/Gallery.js#L53-L62 "Source code on GitHub")
[src/components/Gallery.js:53-62](https://github.com/m860/react-component-image-gallery/blob/4792c1e041bd58eae1484b7f985b99bc9ac727e5/src/components/Gallery.js#L53-L62 "Source code on GitHub")

@@ -63,0 +63,0 @@ [...react-image-gallery.props ](https://github.com/xiaolin/react-image-gallery#props)

@@ -304,27 +304,3 @@ "use strict";

defaultY: marker.y }));
}),
_react2.default.createElement(
"div",
{ style: { position: "absolute", bottom: 0, left: 0, right: 0, display: "flex", justifyContent: "center" } },
_react2.default.createElement(
"button",
{ type: "button", onClick: function onClick() {
var state = Object.assign({}, _this2.state, {
scale: _this2.state.scale + 0.1
});
_this2.setState(state);
} },
"\u653E\u5927"
),
_react2.default.createElement(
"button",
{ type: "button", onClick: function onClick() {
var state = Object.assign({}, _this2.state, {
scale: _this2.state.scale - 0.1
});
_this2.setState(state);
} },
"\u7F29\u5C0F"
)
)
})
);

@@ -331,0 +307,0 @@ }

{
"name": "react-component-image-gallery",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",