# @types/react-lazyload

> TypeScript definitions for react-lazyload

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

## Install

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

## 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 | 3.2.3 |
| Published | 2023-11-07 |
| First published | 2017-06-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 3.2.3 (latest) — 2023-11-07
- 3.2.0 (ts3.9) — 2022-03-18
- 3.1.1 (ts3.6) — 2021-07-07
- 3.1.0 (ts3.4) — 2021-01-26
- 3.0.0 (ts3.2) — 2020-10-01
- 2.6.0 (ts2.8) — 2019-10-14
- 2.3.0 (ts2.6) — 2018-04-24
- 2.2.4 (ts2.3) — 2017-09-18
- 2.2.0 (ts2.1) — 2017-06-02
- 3.2.2 — 2023-10-18
- 3.2.1 — 2023-09-27
- 2.5.0 — 2019-04-30
- 2.3.2 — 2019-03-05
- 2.3.1 — 2018-08-04
- 2.2.5 — 2018-02-12
- … 3 more at https://npm.io/package/@types/react-lazyload/versions

## README

# Installation
> `npm install --save @types/react-lazyload`

# Summary
This package contains type definitions for react-lazyload (https://github.com/jasonslyvia/react-lazyload).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-lazyload.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-lazyload/index.d.ts)
````ts
import { Component, CSSProperties, ReactNode } from "react";

export interface LazyLoadProps {
    once?: boolean | undefined;
    height?: number | string | undefined;
    offset?: number | number[] | undefined;
    overflow?: boolean | undefined;
    resize?: boolean | undefined;
    scroll?: boolean | undefined;
    children?: ReactNode | undefined;
    throttle?: number | boolean | undefined;
    debounce?: number | boolean | undefined;
    placeholder?: ReactNode | undefined;
    scrollContainer?: string | Element | undefined;
    unmountIfInvisible?: boolean | undefined;
    preventLoading?: boolean | undefined;
    className?: string | undefined;
    classNamePrefix?: string | undefined;
    style?: CSSProperties | undefined;
}

export default class LazyLoad extends Component<LazyLoadProps> {
    constructor(props: LazyLoad);
}

export function lazyload(option: {}): LazyLoad;

export function forceCheck(): void;

export function forceVisible(): void;

````

### 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 [m0a](https://github.com/m0a), and [svobik7](https://github.com/svobik7).

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