@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


Package Sidebar

Install

npm i @aitfakirali/react-native-marquee

Weekly Downloads

23

Version

0.0.5

License

ISC

Unpacked Size

14.4 kB

Total Files

7

Last publish

Collaborators

  • s_aitfakirali