0.0.41 • Published 2 months ago
@types/react-infinite v0.0.41
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
// Type definitions for react-infinite
// Project: https://github.com/seatgeek/react-infinite
// Definitions by: rhysd <https://github.com/rhysd>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
///<reference types="react" />
import * as React from "react";
export = Infinite;
export as namespace Infinite;
declare namespace Infinite {
interface InfiniteProps {
children?: React.ReactNode;
ref?: React.LegacyRef<Infinite> | undefined;
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: Thu, 21 Oct 2021 23:01:39 GMT
- Dependencies: @types/react
- Global values:
Infinite
Credits
These definitions were written by rhysd.
0.0.41
2 months ago
0.0.40
6 months ago
0.0.38
8 months ago
0.0.39
7 months ago
0.0.37
3 years ago
0.0.36
3 years ago
0.0.35
4 years ago
0.0.34
5 years ago
0.0.33
6 years ago
0.0.32
6 years ago
0.0.31
6 years ago
0.0.30
7 years ago
0.0.29
7 years ago
0.0.28
8 years ago
0.0.27
8 years ago
0.0.26-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.20-alpha
8 years ago
0.0.19-alpha
8 years ago
0.0.14-alpha
8 years ago
0.0.13-alpha
8 years ago