Add childCount prop to ReactSwipe tests

This commit is contained in:
Ammar Alakkad 2019-02-05 12:34:14 +03:00 committed by GitHub
parent 7eb8f8c7d2
commit 43f4e3fc5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ class ReactSwipeTest extends React.PureComponent {
id="test-carousel"
swipeOptions={swipeOptions}
style={style}
childCount={3}
ref={(swipeComponent) => { this.swipeComponent = swipeComponent; }}
>
<div>PANE 1</div>