
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
react-native-image-carousell
Advanced tools
A component for image gallery carousell like iOS Photos app
A component for image gallery carousell like iOS Photos app
npm install --save react-native-image-carousell
import ImageCarousell from 'react-native-image-carousell';
class Example extends React.Component {
constructor(props) {
super(props);
const dataSource = new ListView.DataSource({
rowHasChanged: (r1, r2) => r1 !== r2,
});
this.state = {
dataSource: dataSource.cloneWithRows([
require('./images/1.png'),
require('./images/2.png'),
require('./images/3.png'),
require('./images/4.png'),
require('./images/5.png'),
require('./images/6.png'),
require('./images/7.png'),
require('./images/8.png'),
require('./images/9.png'),
require('./images/10.png'),
]),
};
}
render() {
return (
<View style={styles.container}>
<ImageCarousell
dataSource={this.state.dataSource}
/>
</View>
);
}
}
| Prop | Type | Description | Required |
|---|---|---|---|
dataSource | ListView.DataSource | The image data source | true |
initialIndex | number | The initial image to show based on dataSource index (Default 0) | |
showPreview | bool | To show bottom image preview (Default true) | |
previewImageSize | number | Preview image size (Default 80) | |
width | number | Width for ImageCarousell (Default is Dimensions.get('window').width | |
height | number | Height for ImageCarousell (Default is Dimensions.get('window').height | |
style | View.propTypes.style | Custom style for ImageCarousell | |
previewContainerStyle | View.propTypes.style | Custom style for bottom preview container | |
imageStyle | View.propTypes.style | Custom style for Image | |
previewImageStyle | View.propTypes.style | Custom style for bottom preview image | |
getImageSourceFromDataSource | function | The getter for each dataSource row. (Default is (row) => row.You could however to use (row) => { uri: row.get('image') } if you use Immutable.js | |
renderScrollComponent | function | Custom ScrollView component for ListView |
Check Example
MIT
FAQs
A component for image gallery carousell like iOS Photos app
We found that react-native-image-carousell 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 found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.