Gathering detailed insights and metrics for react_native_pandey_marquee
Gathering detailed insights and metrics for react_native_pandey_marquee
Gathering detailed insights and metrics for react_native_pandey_marquee
Gathering detailed insights and metrics for react_native_pandey_marquee
npm install react_native_pandey_marquee
Typescript
Module System
Node Version
NPM Version
TypeScript (34.13%)
Kotlin (18.71%)
Objective-C (16.67%)
Ruby (15.84%)
JavaScript (8.78%)
Objective-C++ (5.87%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
1 Commits
1 Watchers
2 Branches
1 Contributors
Updated on Feb 10, 2024
Latest Version
1.2.9
Package Id
react_native_pandey_marquee@1.2.9
Unpacked Size
37.22 kB
Size
11.31 kB
File Count
14
NPM Version
10.2.4
Node Version
21.5.0
Published on
Feb 14, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
327
React Native Pandey Marquee component, a cross-platform marquee component, powered by Reanimated:
1npm install react_native_pandey_marquee
For using linear gradient, you also need to install react-native-linear-gradient:
1npm install react-native-linear-gradient
Also, you need to install react-native-reanimated, and follow their installation instructions.
This addition provides clear instructions for users to install both react-native-reanimated
and react-native-linear-gradient
libraries.
1import Marquee from 'react_native_pandey_marquee'; 2import {Text} from 'react-native' 3 4// ... 5 6export function Example() { 7 return ( 8 <Marquee spacing={0} speed={0.7} direction='left'autofill={false} linearGradientColors={['#FF5733', '#FFC300']}> 9 <Text style={{fontSize:16, color:'#000',}}>Hello World</Text> 10 </Marquee> 11 ); 12} 13 14 //... 15export function Example() { 16 return ( 17 <Marquee spacing={0} speed={0.7} direction='left'autofill={false} backgroundColor={'#000'}> 18 <Text style={{fontSize:16, color:'#fff',}}>Hello World</Text> 19 </Marquee> 20 ); 21} 22 23
name | description | required | type | default |
---|---|---|---|---|
children | Any component that you'd like to apply infinite scrolling / marquee effect | YES | React.ReactNode | 1 |
speed | Animation speed | NO | number | 1 |
spacing | Spacing between repeting elements | NO | number | 0 |
style | View style to be applied to Marquee container. | NO | StyleProp<ViewStyle> | |
direction | Move text from both direction. | NO | string | left |
autofill | Text Width Control | NO | boolean | |
linearGradientColors | Add Gradient Color in the background | NO | string | |
backgroundColor | Add Gradient Color in the background | NO | string |
See the contributing guide to learn how to contribute to the repository and the development workflow.
No vulnerabilities found.
No security vulnerabilities found.