File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
src/react-elastic-carousel/components Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ export default {
1616 {
1717 file : pkg . main ,
1818 format : 'cjs' ,
19- sourcemap : true
19+ sourcemap : true ,
20+ exports : 'named'
2021 } ,
2122 {
2223 file : pkg . module ,
Original file line number Diff line number Diff line change @@ -446,6 +446,7 @@ class Carousel extends React.Component {
446446 pagination,
447447 showArrows,
448448 disableArrowsOnEnd,
449+ preventDefaultTouchmoveEvent,
449450 renderArrow,
450451 renderPagination
451452 } = this . props ;
@@ -519,6 +520,7 @@ class Carousel extends React.Component {
519520 itemPadding = { itemPadding }
520521 enableSwipe = { enableSwipe }
521522 enableMouseSwipe = { enableMouseSwipe }
523+ preventDefaultTouchmoveEvent = { preventDefaultTouchmoveEvent }
522524 onSwipedLeft = { onSwipedLeft }
523525 onSwipedRight = { onSwipedRight }
524526 onSwipedUp = { onSwipedUp }
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ Track.propTypes = {
6666 childWidth : PropTypes . number ,
6767 enableSwipe : PropTypes . bool ,
6868 enableMouseSwipe : PropTypes . bool ,
69+ preventDefaultTouchmoveEvent : PropTypes . bool ,
6970 onSwipedLeft : PropTypes . func ,
7071 onSwipedRight : PropTypes . func ,
7172 onSwipedUp : PropTypes . func ,
You can’t perform that action at this time.
0 commit comments