1.0.9 • Published 4 months ago
@types/redux-infinite-scroll v1.0.9
Installation
npm install --save @types/redux-infinite-scroll
Summary
This package contains type definitions for redux-infinite-scroll (https://github.com/RealScout/redux-infinite-scroll).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-infinite-scroll.
index.d.ts
// Type definitions for redux-infinite-scroll 1.0
// Project: https://github.com/RealScout/redux-infinite-scroll
// Definitions by: Tony Nikolov <https://github.com/silkyfray>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import { Component, HTMLProps } from "react";
interface InfiniteScrollerProps {
elementIsScrollable?: boolean | undefined;
containerHeight?: number | string | undefined;
threshold?: number | undefined;
hasMore?: boolean | undefined;
loadingMore?: boolean | undefined;
loader?: any;
showLoader?: boolean | undefined;
loadMore(): void;
items?: JSX.Element[] | undefined;
children?: JSX.Element[] | undefined;
holderType?: string | undefined;
}
declare class InfiniteScoller extends Component<InfiniteScrollerProps & HTMLProps<HTMLDivElement>> {}
export default InfiniteScoller;
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:52 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Tony Nikolov.