Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-native-parallax-swiper
Advanced tools
Full Screen Parallax Swiper Allowing Arbitrary UI Injection
Configurable parallax swiper based on an iOS pattern. Uses Native Driver for super smooth parallax.
☝️ React Native Zoomable for image zoom. Artwork by Daniel Mackey.
You can see this effect in apps like:
Run npm install react-native-parallax-swiper --save
import ParallaxSwiper from 'react-native-parallax-swiper';
<ParallaxSwiper
parallaxStrength={80}
dividerWidth={8}
dividerColor="black"
backgroundColor="#bae"
onMomentumScrollEnd={() => console.log('💩')}
>
<View
style={{
flex: 1,
alignItems: 'center',
justifyContent: 'center',
}}
backgroundImage={'https://goo.gl/7Mvjji'}
>
<Text>Pass Arbitrary JSX to ParallaxSwiper as Children</Text>
</View>
</ParallaxSwiper>
Prop | Type | Description |
---|---|---|
parallaxStrength | number | how much parallax you want |
dividerWidth | number | width of slide divider |
dividerColor | string | color of slide divider |
backgroundImageResizeMode | string | how your background image should resize |
backgroundColor | string | color of main scrollview background |
onMomentumScrollEnd | function | called when scrollview completed scrolling |
children | ReactComponents | pass arbitrary JSX into slide |
Copyright (c) 2017 Zachary Gibson Licensed under the MIT license.
FAQs
Full Screen Parallax Swiper Allowing Arbitrary UI Injection
We found that react-native-parallax-swiper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.