3

React Native Ticker Tape/Marquee/Crawler

 1 year ago
source link: https://reactnativeexample.com/react-native-ticker-tape-marquee-crawler/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Marquee

React Native Ticker Tape/Marquee/Crawler

Nov 20, 2022 1 min read

react-native-ticker-tape

React Native Ticker Tape/Marquee/Crawler

example.gif

Installation

npm install react-native-ticker-tape

Usage

import {Ticker} from 'react-native-ticker-tape';

// ...
return (
<Ticker msPerPX={100}>
  <Text style={styles.text}>
    Lorem Ipsum is simply dummy text of the printing and typesetting
    industry. Lorem Ipsum has been the industry's standard dummy text
    ever since the 1500s, when an unknown printer took a galley of
    type and scrambled it to make a type specimen book. It has
    survived not only five centuries, but also the leap into
    electronic typesetting, remaining essentially unchanged. It was
    popularised in the 1960s with the release of Letraset sheets
    containing Lorem Ipsum passages, and more recently with desktop
    publishing software like Aldus PageMaker including versions of
    Lorem Ipsum.
  </Text>
</Ticker>
)

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License


GitHub

View Github


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK