An open API service indexing awesome lists of open source software.

https://github.com/realabbas/react-native-image-swipe

React Native Image Swipe Component 🚀
https://github.com/realabbas/react-native-image-swipe

image-swipe javascript opensource react-native

Last synced: 10 months ago
JSON representation

React Native Image Swipe Component 🚀

Awesome Lists containing this project

README

          

# 🎉 React Native Image Swipe 🚀

*I was not able to find a suitable library to implement image swipe and proper touchablity. So I made some tweaks and came up with some turnaround*

### PreRequisite

- ```react-native-swipe-gestures```

## Props

| Props | Type | Default |
| --- | --- | --- |
| data | Array of object | required |
| imageHeight | Number | required |

### Sample image array of data

```
const data = [
{
url:
"https:image.shutterstock.com/image-vector/sale-banner-template-design-260nw-487646614.jpg"
},
{
url:
"https:img.freepik.com/free-vector/sale-banner-template-design_74379-121.jpg?size=626&ext=jpg"
},
{
url:
"https:encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSgfpOj6-pjVbg0rAT-PZ93idqoMGGYn5v7DxbViH3HYix2YFxH&s"
}
];
```