Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-marquee-view

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-marquee-view

React Native Draggable View

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
563
decreased by-50.44%
Maintainers
1
Weekly downloads
 
Created
Source

React Native Marquee View

npm version

Help you auto scroll content

Demo

Getting started

npm install react-native-marquee-view --save
  • OR
yarn add react-native-marquee-view

Usage

import MarqueeView from 'react-native-marquee-view';

<MarqueeView
	style={{
		backgroundColor: 'blue',
		width: 200,
	}}>
	<View style={{ backgroundColor: 'red' }}>
		<Text>This is demo content</Text>
	</View>
</MarqueeView>

Properties

PropDescriptionDefault
styleView style_
speedSpeed0.1
delayDelay time before start auto scroll animation (ms).0
autoPlayAuto start when it's mounttrue
playingYou can put state value to this prop to handle play/stop depend on value_

Method:

  • start: Start animation
  • stop: Reset animation

More

This package inspired by https://github.com/homielab/react-native-auto-scroll

License

This module is MIT licensed


Keywords

FAQs

Package last updated on 17 May 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc