0.0.5 • Published 4 months ago

@aitfakirali/react-native-marquee v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

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

namedescriptionrequiredtypedefault
childrenReact View ComponentYESReact.ReactNode1
speedAnimation speedNOnumber0.1
styleView style to be applied to Marquee container.NOStyleProp<ViewStyle>

License

This module is MIT licensed


0.0.3

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.2

5 months ago

0.0.1

5 months ago