
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-circular-carousel
Advanced tools
Circular Carousal for use on iOS and Android.
Open a Terminal in your project's folder and run,
yarn add react-native-circular-carousal
or
npm install --save react-native-circular-carousal
import CircularCarousal from 'react-native-circular-carousal';
const dataSource = [
{name: 'Ahmed'},
{name: 'Ali'},
{name: 'Umar'},
{name: 'Bilal'}
]
<CircularCarousal
style={{ width: 350 }}
dataSource={dataSource}
renderItem={(data) => <CarousalItem data={data} />}
onItemPress={handleItemPress}
/>;
| Prop | Type | Description |
|---|---|---|
| dataSource* | Array | Items datasource |
| dropAreaLayout | Object: { height, width, x, y } | Layout of component where carousal items are going to be dropped |
| renderItem | (data) => Component | Render a single carousal item component |
| onItemPress | (index) => void | This handler function is called when front carousal item is tapped. |
| onItemDrop | (index) => void | This handler function is called when carousal item is dropped upon Drop Area. |
| style | Object: { width, height } | Styles given to container component. Default: { width: 350, height: 200 } |
| itemStyle | Object: { width, height } | Styles given to a carousal item component. Default: { width: 110, height: 120 } |
**Provide correct styles as these are used in arranging items in circle.
FAQs
Circular Carousel component for React Native
We found that react-native-circular-carousel 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.