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 🚀
- Host: GitHub
- URL: https://github.com/realabbas/react-native-image-swipe
- Owner: realabbas
- License: mit
- Created: 2020-01-24T10:05:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T04:41:04.000Z (about 6 years ago)
- Last Synced: 2025-04-12T20:53:01.268Z (about 1 year ago)
- Topics: image-swipe, javascript, opensource, react-native
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
}
];
```