kkemple/react-native-sideswipe

Display only 1 image in the center and no left/right neighbors

YikSanChan opened this issue · 0 comments

  • I ran [envinfo](https://www.npmjs.com/package/envinfo) and added results to issue (if bug related) // <-- This is not needed since this is a usage question
  • I created a reproduction example in expo (if bug related)

See Expo example at https://snack.expo.io/@evanchan/sideswipe-issue.

I want to use the sideswipe to display 1 image at a time in the center, which is similar to:
image

However, what I am getting is:
image
image

I don't want to show left and right neighbor of the image in the center. What is the right way to do it, or is it possible?