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 {
16
16
{
17
17
file : pkg . main ,
18
18
format : 'cjs' ,
19
- sourcemap : true
19
+ sourcemap : true ,
20
+ exports : 'named'
20
21
} ,
21
22
{
22
23
file : pkg . module ,
Original file line number Diff line number Diff line change @@ -446,6 +446,7 @@ class Carousel extends React.Component {
446
446
pagination,
447
447
showArrows,
448
448
disableArrowsOnEnd,
449
+ preventDefaultTouchmoveEvent,
449
450
renderArrow,
450
451
renderPagination
451
452
} = this . props ;
@@ -519,6 +520,7 @@ class Carousel extends React.Component {
519
520
itemPadding = { itemPadding }
520
521
enableSwipe = { enableSwipe }
521
522
enableMouseSwipe = { enableMouseSwipe }
523
+ preventDefaultTouchmoveEvent = { preventDefaultTouchmoveEvent }
522
524
onSwipedLeft = { onSwipedLeft }
523
525
onSwipedRight = { onSwipedRight }
524
526
onSwipedUp = { onSwipedUp }
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ Track.propTypes = {
66
66
childWidth : PropTypes . number ,
67
67
enableSwipe : PropTypes . bool ,
68
68
enableMouseSwipe : PropTypes . bool ,
69
+ preventDefaultTouchmoveEvent : PropTypes . bool ,
69
70
onSwipedLeft : PropTypes . func ,
70
71
onSwipedRight : PropTypes . func ,
71
72
onSwipedUp : PropTypes . func ,
You can’t perform that action at this time.
0 commit comments