Skip to content

Commit 1f1711f

Browse files
littlejustinhtim-steele
authored andcommitted
Feature/122 add optional drag step prop (#125)
* added a dragStep prop that mimics the logic of the step prop but only for drag/swipe events * Fixed the tests that I foolishly broke * fixed package-lock, rollup config, and a linting error * updated readme and typings to include drag step * filtered dragStep from CarouselProvider props * Updated all build files * added dragStep into componentWillReceiveProps updating the store state * ran the build
1 parent c4a3087 commit 1f1711f

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

dist/index.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.es.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-carousel.es.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-carousel.es.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/CarouselProvider/CarouselProvider.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ const CarouselProvider = class CarouselProvider extends React.Component {
105105
'orientation',
106106
'playDirection',
107107
'step',
108+
'dragStep',
108109
'totalSlides',
109110
'touchEnabled',
110111
'dragEnabled',

0 commit comments

Comments
 (0)