Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Index problem #31

Closed
faogustavo opened this issue Mar 8, 2017 · 1 comment
Closed

Index problem #31

faogustavo opened this issue Mar 8, 2017 · 1 comment

Comments

@faogustavo
Copy link

faogustavo commented Mar 8, 2017

Hey man, started using your lib but when I want to manually change the index, it generates an error on swipe to the next or previous image.
I'm doing it like this:

<ImageViewer
    imageUrls={this.props.images}
    style={styles.ImageViewer}
    index={this.state.index}
>
@faogustavo
Copy link
Author

solved by using parseInt on index.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant