react-native-image-viewer
react-native-image-viewer copied to clipboard
Start image preview from clicked image
Is it possible to start image preview from clicked photo?
Current behaviour: if I have array of three images and I click second or third image, preview starts from first array item.
Expected behaviour: Start preview from clicked image - second or third.
If possible any example would be appreciated.
You need to pass the index of the picture => index={1}. You will immediately go to 2 element
This is exactly what I needed. Thanks!