Gathering detailed insights and metrics for react-native-dynamic-carousel
Gathering detailed insights and metrics for react-native-dynamic-carousel
A react native custom component of dynamic carousel (horizontal and vertical) with react native animated. can be used as a wheel spinner.
npm install react-native-dynamic-carousel
Typescript
Module System
Node Version
NPM Version
70.1
Supply Chain
98.8
Quality
76.7
Maintenance
100
Vulnerability
100
License
TypeScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,037
Last Day
1
Last Week
5
Last Month
30
Last Year
481
1 Stars
7 Commits
1 Forks
1 Watchers
1 Branches
1 Contributors
Updated on Sep 30, 2024
Latest Version
1.0.8
Package Id
react-native-dynamic-carousel@1.0.8
Unpacked Size
19.20 MB
Size
19.10 MB
File Count
11
NPM Version
10.8.2
Node Version
21.1.0
Published on
Sep 30, 2024
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-68.8%
5
Compared to previous week
Last Month
7.1%
30
Compared to previous month
Last Year
-13.5%
481
Compared to previous year
2
A react native custom component of dynamic carousel (horizontal and vertical) with react native animated. can be used as a wheel spinner.
It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks including React , Vue , Svelte , and Angular . You can use RN-Animated-Donut-Chart directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.
const data1 = dayesInMonth.map((item, index) => ({
['text']: item,
}));
const data2 = [
{
index: 0,
url: 'https://reactnative.dev/img/tiny_logo.png',
},
{
index: 1,
url: 'https://reactnative.dev/img/tiny_logo.png',
},
{
index: 2,
url: 'https://reactnative.dev/img/tiny_logo.png',
},
{
index: 3,
url: 'https://reactnative.dev/img/tiny_logo.png',
},
{
index: 4,
url: 'https://reactnative.dev/img/tiny_logo.png',
},
{
index: 5,
url: 'https://reactnative.dev/img/tiny_logo.png',
},
];
<Spinner
isHorizontal={false}
data={data}
height={height}
itemStyle={{padding: 5}}
itemHeightPrecentageFromHeight={0.5}
itemwidthPrecentageFromWidth={0.5}
itemVerticalRotationDegreeRange={['-60deg', '0deg', '60deg']}
ItemView={(props: {url: string}) => (
<Image
source={{uri: props.url}}
style={{width: '100%', height: '100%'}}
/>
)}
/>
<Spinner
initialIndex={0}
onSelectItem={item => {
}}
isHorizontal={false}
data={data}
height={height}
itemStyle={{padding: 5}}
itemHeightPrecentageFromHeight={0.5}
itemwidthPrecentageFromWidth={0.5}
itemVerticalRotationDegreeRange={['-60deg', '0deg', '60deg']}
ItemView={(props: {url: string}) => (
<Text
style={{
fontSize: height * 0.3,
color: 'gray',
fontWeight: '900',
textAlign: 'center',
}}>
{props.text}
</Text>
)}
/>
Dataset Properties
Name | Type | Default |
---|---|---|
data | any[] | |
height | number | |
isHorizontal | boolean | |
outputRangeOpacity | number[] | |
outputRangeScale | number[] | |
itemVerticalRotationDegreeRange | string[] | |
itemHorizontalRotationDegreeRange | string[] | |
flatListProps | {} | |
itemStyle | ViewStyle | |
itemHeightPrecentageFromHeight | number | |
itemwidthPrecentageFromWidth | number | |
ItemView | (props: any) => JSX.Element | |
onSelectItem | (item: any) => void | |
initialIndex | number | |
startWithHalfSlide? | boolean |
No vulnerabilities found.
No security vulnerabilities found.