# @types/react-animate-on-scroll

> TypeScript definitions for react-animate-on-scroll

Latest version **2.1.8** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-animate-on-scroll
pnpm add @types/react-animate-on-scroll
yarn add @types/react-animate-on-scroll
bun add @types/react-animate-on-scroll
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.1.8 |
| Published | 2023-11-07 |
| First published | 2018-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-animate-on-scroll
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-animate-on-scroll
- npm.io page: https://npm.io/package/@types/react-animate-on-scroll

## Dependencies (1)

- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 2.1.8 (latest) — 2023-11-07
- 2.1.5 (ts3.7) — 2021-11-13
- 2.1.3 (ts3.6) — 2021-07-08
- 2.1.2 (ts2.8) — 2019-02-13
- 2.1.0 (ts2.6) — 2018-04-19
- 2.1.7 — 2023-10-18
- 2.1.6 — 2023-09-27
- 2.1.4 — 2021-10-15
- 2.1.1 — 2018-08-04

## README

# Installation
> `npm install --save @types/react-animate-on-scroll`

# Summary
This package contains type definitions for react-animate-on-scroll (https://github.com/dbramwell/react-animate-on-scroll).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-animate-on-scroll.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-animate-on-scroll/index.d.ts)
````ts
import * as React from "react";

export interface ScrollAnimationProps {
    animateIn?: string | undefined;
    animateOut?: string | undefined;
    children?: React.ReactNode;
    offset?: number | undefined;
    duration?: number | undefined;
    delay?: number | undefined;
    initiallyVisible?: boolean | undefined;
    animateOnce?: boolean | undefined;
    style?: object | undefined;
    scrollableParentSelector?: string | undefined;
    className?: string | undefined;
    animatePreScroll?: boolean | undefined;
    afterAnimatedOut?: (visibile: VisibleType) => {} | undefined;
    afterAnimatedIn?: (visibile: VisibleType) => {} | undefined;
}

export interface VisibleType {
    inViewport: boolean;
    onScreen: boolean;
}

export default class ScrollAnimation extends React.Component<ScrollAnimationProps> {
    constructor(props: ScrollAnimationProps);
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Ricardo Albuquerque](https://github.com/ralbuque).

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