@rahmatsaputra-my-id/react-js-library 0.0.89 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -156652,9 +156652,9 @@ var styles$8 = {
|
|
|
156652
156652
|
|
|
156653
156653
|
var ImageSlider = function (_a) {
|
|
156654
156654
|
var _b, _c;
|
|
156655
|
-
var images$1 = _a.images, style = _a.style,
|
|
156656
|
-
var
|
|
156657
|
-
var
|
|
156655
|
+
var images$1 = _a.images, style = _a.style, _d = _a.showIndicator, showIndicator = _d === void 0 ? true : _d;
|
|
156656
|
+
var _e = useState(0), currentIndex = _e[0], setCurrentIndex = _e[1];
|
|
156657
|
+
var _f = useState(false), isPreviewVisible = _f[0], setIsPreviewVisible = _f[1];
|
|
156658
156658
|
var startX = useRef(0);
|
|
156659
156659
|
var isSwiping = useRef(false);
|
|
156660
156660
|
var handleTouchStart = function (e) {
|
package/dist/index.js
CHANGED
|
@@ -156661,9 +156661,9 @@ var styles$8 = {
|
|
|
156661
156661
|
|
|
156662
156662
|
var ImageSlider = function (_a) {
|
|
156663
156663
|
var _b, _c;
|
|
156664
|
-
var images$1 = _a.images, style = _a.style,
|
|
156665
|
-
var
|
|
156666
|
-
var
|
|
156664
|
+
var images$1 = _a.images, style = _a.style, _d = _a.showIndicator, showIndicator = _d === void 0 ? true : _d;
|
|
156665
|
+
var _e = React.useState(0), currentIndex = _e[0], setCurrentIndex = _e[1];
|
|
156666
|
+
var _f = React.useState(false), isPreviewVisible = _f[0], setIsPreviewVisible = _f[1];
|
|
156667
156667
|
var startX = React.useRef(0);
|
|
156668
156668
|
var isSwiping = React.useRef(false);
|
|
156669
156669
|
var handleTouchStart = function (e) {
|