zmp-react
Advanced tools
Comparing version 2.4.0-1 to 2.4.0-2
@@ -16,3 +16,2 @@ "use strict"; | ||
style?: React.CSSProperties; | ||
zoom?: boolean; | ||
*/ | ||
@@ -22,4 +21,3 @@ var SwiperSlide = function SwiperSlide(props) { | ||
id = props.id, | ||
style = props.style, | ||
zoom = props.zoom; | ||
style = props.style; | ||
var classes = (0, _utils.classNames)(className, 'swiper-slide'); | ||
@@ -31,5 +29,3 @@ var slots = (0, _utils.getSlots)(props); | ||
className: classes | ||
}, zoom ? /*#__PURE__*/_react.default.createElement("div", { | ||
className: "swiper-zoom-container" | ||
}, slots.default) : slots.default); | ||
}, slots.default); | ||
}; | ||
@@ -36,0 +32,0 @@ |
@@ -24,3 +24,2 @@ "use strict"; | ||
style?: React.CSSProperties; | ||
zoom?: boolean; | ||
pagination: boolean; | ||
@@ -38,2 +37,3 @@ scrollbar: boolean; | ||
loop?: boolean; | ||
loopedSlides?: number; | ||
slidesPerView?: number | 'auto'; | ||
@@ -73,3 +73,4 @@ spaceBetween?: number; | ||
speed = props.speed, | ||
onSlideChange = props.onSlideChange; | ||
onSlideChange = props.onSlideChange, | ||
loopedSlides = props.loopedSlides; | ||
var paginationEl; | ||
@@ -123,3 +124,4 @@ var scrollbarEl; | ||
spaceBetween: spaceBetween, | ||
speed: speed | ||
speed: speed, | ||
loopedSlides: loopedSlides | ||
}; | ||
@@ -126,0 +128,0 @@ |
/** | ||
* ZMP React 2.4.0-1 | ||
* ZMP React 2.4.0-2 | ||
* Build full featured iOS & Android apps using ZMP & React | ||
@@ -4,0 +4,0 @@ * https://h5.zalo.me/react/ |
@@ -10,3 +10,2 @@ | ||
style?: React.CSSProperties; | ||
zoom?: boolean; | ||
} | ||
@@ -13,0 +12,0 @@ declare const SwiperSlide: React.FunctionComponent<SwiperSlideProps>; |
@@ -10,3 +10,2 @@ | ||
style?: React.CSSProperties; | ||
zoom?: boolean; | ||
pagination?: boolean; | ||
@@ -24,2 +23,3 @@ scrollbar?: boolean; | ||
loop?: boolean; | ||
loopedSlides?: number; | ||
slidesPerView?: number | 'auto'; | ||
@@ -26,0 +26,0 @@ spaceBetween?: number; |
@@ -7,3 +7,2 @@ import React from 'react'; | ||
style?: React.CSSProperties; | ||
zoom?: boolean; | ||
*/ | ||
@@ -14,4 +13,3 @@ | ||
id = props.id, | ||
style = props.style, | ||
zoom = props.zoom; | ||
style = props.style; | ||
var classes = classNames(className, 'swiper-slide'); | ||
@@ -23,5 +21,3 @@ var slots = getSlots(props); | ||
className: classes | ||
}, zoom ? /*#__PURE__*/React.createElement("div", { | ||
className: "swiper-zoom-container" | ||
}, slots.default) : slots.default); | ||
}, slots.default); | ||
}; | ||
@@ -28,0 +24,0 @@ |
@@ -10,3 +10,2 @@ import React, { useEffect, useRef, useState, forwardRef, useImperativeHandle } from 'react'; | ||
style?: React.CSSProperties; | ||
zoom?: boolean; | ||
pagination: boolean; | ||
@@ -24,2 +23,3 @@ scrollbar: boolean; | ||
loop?: boolean; | ||
loopedSlides?: number; | ||
slidesPerView?: number | 'auto'; | ||
@@ -60,3 +60,4 @@ spaceBetween?: number; | ||
speed = props.speed, | ||
onSlideChange = props.onSlideChange; | ||
onSlideChange = props.onSlideChange, | ||
loopedSlides = props.loopedSlides; | ||
var paginationEl; | ||
@@ -110,3 +111,4 @@ var scrollbarEl; | ||
spaceBetween: spaceBetween, | ||
speed: speed | ||
speed: speed, | ||
loopedSlides: loopedSlides | ||
}; | ||
@@ -113,0 +115,0 @@ |
/** | ||
* ZMP React 2.4.0-1 | ||
* ZMP React 2.4.0-2 | ||
* Build full featured iOS & Android apps using ZMP & React | ||
@@ -4,0 +4,0 @@ * https://h5.zalo.me/react/ |
{ | ||
"name": "zmp-react", | ||
"version": "2.4.0-1", | ||
"version": "2.4.0-2", | ||
"description": "Build full featured iOS & Android apps using ZMP & React", | ||
@@ -5,0 +5,0 @@ "main": "cjs/zmp-react.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1784196
40253