# @doob9p/react-auto-scroll

> react auto scroll

Latest version **1.0.2** (published 2022-12-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install @doob9p/react-auto-scroll
pnpm add @doob9p/react-auto-scroll
yarn add @doob9p/react-auto-scroll
bun add @doob9p/react-auto-scroll
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-12-07 |
| First published | 2022-12-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 19 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brook kim |
| Maintainers | doob9p |
| Keywords | react, auto, scroll, component |

## Links

- npm: https://www.npmjs.com/package/@doob9p/react-auto-scroll
- Homepage: https://github.com/doob9p/react-auto-scroll
- npm.io page: https://npm.io/package/@doob9p/react-auto-scroll

## 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

- 1.0.2 (latest) — 2022-12-07
- 1.0.1 — 2022-12-06
- 1.0.0 — 2022-12-06
- 0.0.10 — 2022-12-05
- 0.0.9 — 2022-12-05
- 0.0.8 — 2022-12-05
- 0.0.7 — 2022-12-05
- 0.0.6 — 2022-12-05
- 0.0.5 — 2022-12-04
- 0.0.4 — 2022-12-04
- 0.0.3 — 2022-12-04
- 0.0.2 — 2022-12-04

## README

# react-auto-scroll

![](https://github.com/doob9p/react-auto-scroll/blob/master/public/introduce.gif)

## Install

```
npm install @doob9p/react-auto-scroll
```

<br>
<br>

## Example

```
import React from "react";
import ReactAutoScroll from "./lib/components/react-auto-scroll/ReactAutoScroll";

type Data = {
  id: number;
  name: string;
  age: number;
};

const datas: Data[] = [
  {
    id: 1,
    name: "브룩",
    age: 20,
  },
  {
    id: 2,
    name: "브룩",
    age: 20,
  },
  {
    id: 3,
    name: "브룩",
    age: 20,
  },
  {
    id: 4,
    name: "브룩",
    age: 20,
  },
  {
    id: 5,
    name: "브룩",
    age: 20,
  },
  {
    id: 6,
    name: "브룩",
    age: 20,
  },
  {
    id: 7,
    name: "브룩",
    age: 20,
  },
];

function Test() {
  const row = (value: Data) => {
    return (
      <div
        key={value.id}
        style={{
          display: "flex",
          justifyContent: "center",
          alignItems: "center",
          height: 50,
        }}
      >
        <span>{value.id}</span>
        <span>{value.name}</span>
        <span>{value.age}</span>
      </div>
    );
  };

  return (
    <div>
      <div style={{ width: 800, textAlign: "center" }}>
        <ReactAutoScroll second={1000} datas={datas} row={row} />
      </div>
    </div>
  );
}

export default Test;
```

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