@aitfakirali/react-native-marquee

0.0.5 • Public • Published

React Native Marquee View

React native Marquee is a npm library for creating auto scrolling view

Demo

Installation

Using npm

npm install @aitfakirali/react-native-marquee

using yarn

yarn add @aitfakirali/react-native-marquee

Usage

import MarqueeView from '@aitfakirali/react-native-marquee';

export const ExampleComponent = () => {
  return (
    <MarqueeView ref={marqueeRef} speed={0.5}>
      <View>
        <Text>Open up App.js to start working on your app!</Text>
        <Text>Open up App.js to start working on your app!</Text>
        <Text>Open up App.js to start working on your app!</Text>
      </View>
    </MarqueeView>
  );
};

Props

name description required type default
children React View Component YES React.ReactNode 1
speed Animation speed NO number 0.1
style View style to be applied to Marquee container. NO StyleProp<ViewStyle>

License

This module is MIT licensed


Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    10
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @aitfakirali/react-native-marquee

Weekly Downloads

10

Version

0.0.5

License

ISC

Unpacked Size

14.4 kB

Total Files

7

Last publish

Collaborators

  • s_aitfakirali