
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
react-native-image-carousel-slider
Advanced tools
This package is made to make it easier for you to display the image sliders
## Installation
npm install react-native-image-carousel-slider --save
import CarouselDisplay from react-native-image-carousel-slider
const image = ['https://www.bradykesner.com/wp-content/uploads/2016/11/clingmans-dome-sunset-smoky-mountain-national-park-1030x687.jpg',
'https://www.nps.gov/blri/learn/nature/images/Bear-Trap-Gap-MP-428-robert-Stevens-web.jpg?maxwidth=1200&maxheight=1200&autorotate=false',
'https://static.rootsrated.com/image/upload/s--U0wjV1dP--/t_rr_large_traditional/kzw1j2a9jcad36x6ytof.jpg'
]
class App extends Component {
state={
active:0
}
handleMovements = ({nativeEvent}) => {
const slide = Math.ceil(
nativeEvent.contentOffset.x / nativeEvent.layoutMeasurement.width,
);
if (slide !== this.state.active) {
this.setState({
active: slide,
});
}
};
render(){
return(
<CarouselDisplay
screen={'DisplayFullImages'}
fixedData={carDetails[1].image}
screenNavigation={this.props.navigation}
active={this.state.active}
handleMovements={this.handleMovements}
/>
)
}
}
Property | Type | Description |
---|---|---|
screen | PropTypes.string | (optional)Screen Navigation and will passing property 'detailImage' as array |
fixedData | PropTypes.array | (required) Array Of Image |
screenNavigation | PropTypes.function | (optional) navigation function |
active | PropTypes.number | display active image that choosed |
handleMovements | PropTypes.object | Native Event |
Arwy Syahputra Siregar
github.com/arwysyah
Copyright ©
by Arwy Syahputra Siregar
FAQs
This package is made to make it easier for you to display the image sliders
The npm package react-native-image-carousel-slider receives a total of 2 weekly downloads. As such, react-native-image-carousel-slider popularity was classified as not popular.
We found that react-native-image-carousel-slider 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.