# react-native-auto-scroller

> auto scroller component

Latest version **0.0.3** (published 2019-05-13) · ISC license · 0 weekly downloads

## Install

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

## 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.3 |
| Published | 2019-05-13 |
| First published | 2019-05-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hossein mohammadi |
| Maintainers | hosseinmdeveloper |
| Keywords | scrolling, scroll, auto, easy, performance, react, react-native, javascript, javascript-library, components, library, high-performance, best-practices, react-native-auto-scroller, hossein, mohammadi |

## Links

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

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-05-13
- 0.0.2 — 2019-05-13
- 0.0.1 — 2019-05-13

## README

[![NPM](https://nodei.co/npm/react-native-auto-scroller.png)](https://nodei.co/npm/react-native-auto-scroller/)

[![install size](https://packagephobia.now.sh/badge?p=react-native-auto-scroller)](https://packagephobia.now.sh/result?p=react-native-auto-scroller) [![dependencies](https://david-dm.org/hosseinmd/react-native-auto-scroller.svg)](https://david-dm.org/hosseinmd/react-native-auto-scroller.svg)

# react-native-auto-scroller

Auto scrolling Component
need Dependencies

There are many solutions, but I prefer this one for the best performance. The animations are using `useNativeDriver`, so they will be send to native and will be perform on the UI thread instead of JS thread.

- "react": ">=16.8.6"
- "react-native": ">=0.59"

## Installation

    npm install --save react-native-auto-scroller

_or_

    yarn add react-native-auto-scroller

## Properties

| Prop           | Description                                         | Default |
| -------------- | --------------------------------------------------- | ------- |
| **`style`**    | `View` style                                        | \_      |
| **`duration`** | Time to finish a round                              | 10      |
| **`delay`**    | Delay time before start auto scroll animation (ms). | 1000    |

## install

```npm
npm i react-native-auto-scroller --save
```

```yarn
yarn add react-native-auto-scroller
```

---

### use

```javascript
import React from "react";
import { AutoScroller } from "react-native-auto-scroller";

class App extends PureComponent {
  render() {
    return (
      <View>
        ...
        <AutoScroller>
          <Image source={myImages} />
          <Image source={myImages} />
          <Image source={myImages} />
          <Image source={myImages} />
        </AutoScroller>
        ...
      </View>
    );
  }
}
```

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