Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
react_native_pandey_marquee
Advanced tools
Readme
React Native Pandey Marquee component, a cross-platform marquee component, powered by Reanimated:
npm install react_native_pandey_marquee
For using linear gradient, you also need to install react-native-linear-gradient:
npm 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.
import Marquee from 'react_native_pandey_marquee';
import {Text} from 'react-native'
// ...
export function Example() {
return (
<Marquee spacing={0} speed={0.7} direction='left'autofill={false} linearGradientColors={['#FF5733', '#FFC300']}>
<Text style={{fontSize:16, color:'#000',}}>Hello World</Text>
</Marquee>
);
}
//...
export function Example() {
return (
<Marquee spacing={0} speed={0.7} direction='left'autofill={false} backgroundColor={'#000'}>
<Text style={{fontSize:16, color:'#fff',}}>Hello World</Text>
</Marquee>
);
}
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.
FAQs
New React-Native-Pandey-Marquee
The npm package react_native_pandey_marquee receives a total of 8 weekly downloads. As such, react_native_pandey_marquee popularity was classified as not popular.
We found that react_native_pandey_marquee demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.