# @types/react-infinite

> TypeScript definitions for react-infinite

Latest version **0.0.41** (published 2024-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-infinite
pnpm add @types/react-infinite
yarn add @types/react-infinite
bun add @types/react-infinite
```

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.41 |
| Published | 2024-03-01 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51434 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.0.41 (latest) — 2024-03-01
- 0.0.40 (ts4.5) — 2023-11-07
- 0.0.37 (ts3.7) — 2021-10-21
- 0.0.36 (ts3.6) — 2021-07-08
- 0.0.35 (ts3.0) — 2020-05-15
- 0.0.34 (ts2.8) — 2019-02-13
- 0.0.32 (ts2.6) — 2018-02-12
- 0.0.31 (ts2.3) — 2018-02-01
- 0.0.29 (ts2.1) — 2017-01-23
- 0.0.28 (ts2.0) — 2016-09-19
- 0.0.39 — 2023-10-18
- 0.0.38 — 2023-09-27
- 0.0.33 — 2018-08-04
- 0.0.30 — 2017-06-23
- 0.0.27 — 2016-07-14
- … 9 more at https://npm.io/package/@types/react-infinite/versions

## README

# Installation
> `npm install --save @types/react-infinite`

# Summary
This package contains type definitions for react-infinite (https://github.com/seatgeek/react-infinite).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-infinite.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-infinite/index.d.ts)
````ts
/// <reference types="react" />

import * as React from "react";

export = Infinite;
export as namespace Infinite;

declare namespace Infinite {
    interface InfiniteProps extends React.RefAttributes<Infinite> {
        children?: React.ReactNode;
        elementHeight: number | number[];
        containerHeight?: number | undefined;
        preloadBatchSize?: number | Object | undefined;
        preloadAdditionalHeight?: number | Object | undefined;
        handleScroll?: ((node: React.ReactElement) => void) | undefined;
        infiniteLoadBeginBottomOffset?: number | undefined;
        infiniteLoadBeginEdgeOffset?: number | undefined;
        onInfiniteLoad?: (() => void) | undefined;
        loadingSpinnerDelegate?: React.ReactElement | undefined;
        isInfiniteLoading?: boolean | undefined;
        timeScrollStateLastsForAfterUserScrolls?: number | undefined;
        className?: string | undefined;
        useWindowAsScrollContainer?: boolean | undefined;
        displayBottomUpwards?: boolean | undefined;
    }
}

declare class Infinite extends React.Component<Infinite.InfiniteProps> {
    static containerHeightScaleFactor(n: number): any;
}

````

### Additional Details
 * Last updated: Fri, 01 Mar 2024 01:31:11 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [rhysd](https://github.com/rhysd).

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