3.2.3 • Published 6 months ago

@types/react-lazyload v3.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/react-lazyload

Summary

This package contains type definitions for react-lazyload ver (https://github.com/jasonslyvia/react-lazyload).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-lazyload.

index.d.ts

// Type definitions for react-lazyload ver 3.2
// Project: https://github.com/jasonslyvia/react-lazyload
// Definitions by: m0a <https://github.com/m0a>
//                 svobik7 <https://github.com/svobik7>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import { Component, ReactNode, CSSProperties } 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: Fri, 18 Mar 2022 21:01:43 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by m0a, and svobik7.

3.2.2

7 months ago

3.2.1

7 months ago

3.2.3

6 months ago

3.2.0

2 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

4 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.3.2

5 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.5

6 years ago

2.2.4

7 years ago

2.2.3

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago