Socket
Socket
Sign inDemoInstall

vertical-marquee-view

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vertical-marquee-view

Vertical Marquee View for React Native


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Install size
5.67 kB
Created
Weekly downloads
 

Readme

Source

vertical-marquee-view

A react-native marquee(vertical) label component.

Anchors

  1. Desc
  2. Install
  3. Usage
  4. Props
  5. Update Log

Desc

Skip this part, go to #Install

This is a vertical marquee label.

Please refer to vertical-marquee-view for more detailed descrition.

Note:

  • In Andorid, you can use both width or flex to layout the view.
  • In iOS, use width to layout the view. flex layout is not supported.

Install

npm install --save vertical-marquee-view 

Usage

  1. Import
import VerticalMarqueeView from 'vertical-marquee-view ';
  1. Use
<VerticalMarqueeView
  duration={8000}
  text={'This is a Marquee Label.'}
  textStyle={{ fontSize: 13, color: 'white' }}
/>

or

<VerticalMarqueeView
  speed={250}
  textStyle={{ fontSize: 13, color: 'white' }}
>
  This is a Marquee Label.
</VerticalMarqueeView>

Props

  • children: string, the text to show in the marquee. Alternative to text.
  • text: string, the text to show in the marquee. Alternative to children.
  • duration: number(unit: millisecond), the duration for the marquee to run one round. e.g. 6000 (for 6 seconds a round). Alternative to speed.
  • speed: number(unit: px/s, px per second), the speed of the marquee. Alternative to duration.
  • bgViewStyle: stylesheet object, background view component custom styles.
  • textStyle: stylesheet object, text component custom styles.

Update Log

2019.08.16 Version 1.1.0

  • Dynamic Text Support: now you can use dynamic text with this component :D

Keywords

FAQs

Last updated on 16 Oct 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc