Gathering detailed insights and metrics for @types/react-infinite-scroller
Gathering detailed insights and metrics for @types/react-infinite-scroller
Gathering detailed insights and metrics for @types/react-infinite-scroller
Gathering detailed insights and metrics for @types/react-infinite-scroller
@iduty/ui
dev: npm i --save -dev @types/node@17.0.17 npm i --save-dev @types/qs@6.9.7 npm i --save-dev @types/react@18.2.12 npm i --save-dev @types/react-dom@18.2.4 npm i --save-dev @types/react-infinite-scroller@1.2.3 npm i --save-dev @typescript-eslint/parser@5.5
@hoory/type-react-infinite-scroller
TypeScript definitions for react-infinite-scroller
The repository for high quality TypeScript type definitions.
npm install @types/react-infinite-scroller
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,025 Stars
89,737 Commits
30,435 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 12, 2025
Latest Version
1.2.5
Package Id
@types/react-infinite-scroller@1.2.5
Unpacked Size
7.91 kB
Size
2.38 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
npm install --save @types/react-infinite-scroller
This package contains type definitions for react-infinite-scroller (https://github.com/CassetteRocks/react-infinite-scroller).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-infinite-scroller.
1import * as React from "react"; 2 3declare namespace InfiniteScroll { 4 /** 5 * <InfiniteScroll /> properties. 6 */ 7 interface InfiniteScrollProps extends React.HTMLProps<InfiniteScroll> { 8 /** 9 * Name of the element that the component should render as. 10 * Defaults to 'div'. 11 */ 12 element?: React.ReactNode | string | undefined; 13 /** 14 * Whether there are more items to be loaded. Event listeners are removed if false. 15 * Defaults to false. 16 */ 17 hasMore?: boolean | undefined; 18 /** 19 * Whether the component should load the first set of items. 20 * Defaults to true. 21 */ 22 initialLoad?: boolean | undefined; 23 /** 24 * Whether new items should be loaded when user scrolls to the top of the scrollable area. 25 * Default to false. 26 */ 27 isReverse?: boolean | undefined; 28 /** 29 * A callback for when more items are requested by the user. 30 * Page param is next page index. 31 */ 32 loadMore(page: number): void; 33 /** 34 * The number of the first page to load, with the default of 0, the first page is 1. 35 * Defaults to 0. 36 */ 37 pageStart?: number | undefined; 38 /** 39 * The distance in pixels before the end of the items that will trigger a call to loadMore. 40 * Defaults to 250. 41 */ 42 threshold?: number | undefined; 43 /** 44 * Proxy to the useCapture option of the added event listeners. 45 * Defaults to false. 46 */ 47 useCapture?: boolean | undefined; 48 /** 49 * Add scroll listeners to the window, or else, the component's parentNode. 50 * Defaults to true. 51 */ 52 useWindow?: boolean | undefined; 53 /** 54 * Loader component for indicating "loading more". 55 */ 56 loader?: React.ReactElement | undefined; 57 /** 58 * Override method to return a different scroll listener if it's not the immediate parent of InfiniteScroll. 59 */ 60 getScrollParent?(): HTMLElement | null; 61 } 62 class InfiniteScroll extends React.Component<InfiniteScrollProps> { 63 getParentElement(elem?: HTMLElement | null): HTMLElement | undefined | null; 64 } 65 namespace InfiniteScroll {} 66} 67 68export = InfiniteScroll.InfiniteScroll; 69
These definitions were written by Lauri Lavanti, Piotr Srebniak, Brett Miller, and Yipeng Zhao.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More