# react-native-auto-scrolling-message

> Automatically display your message infinitely.

Latest version **0.0.2** (published 2017-08-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-auto-scrolling-message
pnpm add react-native-auto-scrolling-message
yarn add react-native-auto-scrolling-message
bun add react-native-auto-scrolling-message
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-08-29 |
| First published | 2017-08-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | BranLiang |
| Maintainers | linkaccel |
| Keywords | react-native, scrolling-messages, flowing-messages, auto-scroll, message-board |

## Links

- npm: https://www.npmjs.com/package/react-native-auto-scrolling-message
- Repository: https://github.com/aihehuo/react-native-auto-scrolling-message
- Homepage: https://github.com/aihehuo/react-native-auto-scrolling-message#readme
- Issues: https://github.com/aihehuo/react-native-auto-scrolling-message/issues
- npm.io page: https://npm.io/package/react-native-auto-scrolling-message

## Recent versions

- 0.0.2 (latest) — 2017-08-29
- 0.0.1 — 2017-08-29

## README

## react-native-auto-scrolling-message

### Demo
![](./demo.gif)

### Basic usage
```js
import React from 'react';
import { Text, View, Image } from 'react-native';
import ScrollingMessageView from 'react-native-auto-scrolling-message'

export default class App extends React.Component {
  render () {
    return (
      <ScrollingMessageView
        height={40}
        childrenHeight={20}
        duration={2000}
        containerStyle={{backgroundColor: '#fff'}}
        childrenStyle={{backgroundColor: '#fff'}}
      >
        <View>
          <Image source={{uri: 'https://facebook.github.io/react/img/logo_og.png'}}
            style={{width: 50, height: 50}}
           />
          <Text>Open up App.js to start working on your app!</Text>
        </View>
        <Text>In the render method, we create!</Text>
        <Text>different interpolated value variables</Text>
      </ScrollingMessageView>
    )
  }
}
```

### Props
* height: container height, default 40
* childrenHeight: scrolling object height, default 20
* duration: duration for each flash, default 2000ms
* containerStyle: custom style for the component container
* childrenStyle: custom scrolling object style

---
_Source: https://npm.io/package/react-native-auto-scrolling-message · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
