// Type definitions for react-lazyload ver 2.6 // Project: https://github.com/jasonslyvia/react-lazyload // Definitions by: m0a // svobik7 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import { Component, ReactNode } from "react"; export interface LazyLoadProps { once?: boolean; height?: number | string; offset?: number | number[]; overflow?: boolean; resize?: boolean; scroll?: boolean; children?: ReactNode; throttle?: number | boolean; debounce?: number | boolean; placeholder?: ReactNode; scrollContainer?: string | Element; unmountIfInvisible?: boolean; preventLoading?: boolean; } export default class LazyLoad extends Component { constructor(props: LazyLoad); } export function lazyload(option: {}): LazyLoad; export function forceCheck(): void;