Installations
npm install react-native-image-swiper
Releases
Unable to fetch releases
Developer
7772
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
8.9.0
NPM Version
6.4.0
Statistics
16 Commits
1 Watching
1 Branches
1 Contributors
Updated on 07 Oct 2020
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
7,021
Last day
400%
5
Compared to previous day
Last week
63.6%
18
Compared to previous week
Last month
-38.5%
56
Compared to previous month
Last year
-31.1%
1,153
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Peer Dependencies
3
react-native-image-swiper
A Simple Images Slider using react-native-swiper
Getting Started
- init your app
$ react-native init ImagesSwiperApp
- npm install in root
$ cd ImagesSwiperApp
$ npm install --save react-native-image-swiper
- import ImagesSwiper
$ import ImagesSwiper from "react-native-image-swiper";
Usage
import ImagesSwiper from "react-native-image-swiper";
const customImg = [
"https://firebasestorage.googleapis.com/v0/b/lotapp-9e84d.appspot.com/o/aster.jpg?alt=media&token=166e66b0-9c8e-4803-918e-25762c58dbda",
"https://firebasestorage.googleapis.com/v0/b/lotapp-9e84d.appspot.com/o/fan.jpg?alt=media&token=b419d507-9de8-4c4c-97e3-6b4eb2202e68",
"https://firebasestorage.googleapis.com/v0/b/lotapp-9e84d.appspot.com/o/stone.jpg?alt=media&token=e9d41537-7f26-4bfd-86eb-c2ef6fc58a9c"
];
class ImagesSwiperApp extends Component {
render() {
return (
<View style={styles.container}>
<ScrollView style={{flex: 1}}>
<Text style={styles.welcome}>Default</Text>
<ImagesSwiper />
<Text style={styles.welcome}>Custom Images and Styles</Text>
<ImagesSwiper
images={customImg}
autoplay={true}
autoplayTimeout={1.5}
showsPagination={false}
width={width}
height={height - 400}
/>
</ScrollView>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
marginTop: 30,
},
welcome: {
fontSize: 20,
textAlign: 'center',
marginTop: 30,
marginBottom: 10,
},
});
Properties
Prop | Type | Description | Default | Required |
---|---|---|---|---|
images | array of objects | Data to be rendered in the slider | 3 example images in array | Optional (Recommend that you add it yourself) |
autoplay | Boolean | Set to true enable auto play mode | false (autoplay has currently error on Android's Dev mode) | Optional |
autoplayTimeout | number | Delay between auto play transitions (in second). | 1.5 | Optional |
showsPagination | Boolean | Set to true make pagination visible | false | Optional |
width | number | width of image | 400 | Optional |
height | number | height of image | 400 | Optional |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
24 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-832h-xg76-4gv6
- Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h
- Warn: Project is vulnerable to: GHSA-4hpf-3wq7-5rpr
- Warn: Project is vulnerable to: GHSA-f522-ffg8-j8r6
- Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546
- Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx
- Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q
- Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm
- Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574
- Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m / GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6
- Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj
Score
1.3
/10
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to react-native-image-swiper
swiper
Most modern mobile touch slider and framework with hardware accelerated transitions
react-native-swiper
Swiper component for React Native.
react-native-onboarding-swiper
Delightful Onboarding for your React-Native App
react-native-swiper-flatlist
React native swiper flatlist component