
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@animatereactnative/marquee
Advanced tools
https://github.com/animate-react-native/marquee/assets/2805320/4fb199b2-491c-4621-bf84-85890a8d6f5e
React Native Marquee component, a cross-platform marquee component, powered by Reanimated:
npm install @animatereactnative/marquee
Also, you need to install react-native-reanimated, and follow their installation instructions.
import { Marquee } from '@animatereactnative/marquee';
// ...
export function Example() {
return (
<Marquee spacing={20} speed={1}>
<Heading>Powered by AnimateReactNative.com</Heading>
</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 |
reverse | Determine if the animation should be reversed or not. Based on direction , reverse means left-to-right, right-to-left, top-to-bottom, bottom-to-top | NO | boolean | false |
direction | Direction of the animation | NO | "horizontal" | "vertical" or "horizontal" |
style | View style to be applied to Marquee container. | NO | StyleProp<ViewStyle> | |
position | A shared value that you can pass and it will be modified when the marquee runs. Useful if you want to interpolate or run any additional animations | NO | SharedValue<number> | |
withGesture | Indicates if the Marquee can be controlled by the gestures | NO | boolean |
See the contributing guide to learn how to contribute to the repository and the development workflow.
FAQs
A React Native Marquee component
The npm package @animatereactnative/marquee receives a total of 8,020 weekly downloads. As such, @animatereactnative/marquee popularity was classified as popular.
We found that @animatereactnative/marquee demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.