Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-infinite-scroller

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-infinite-scroller - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

18

react-infinite-scroller/index.d.ts

@@ -21,3 +21,3 @@ // Type definitions for react-infinite-scroller 1.2

*/
element?: string;
element?: string | undefined;
/**

@@ -27,3 +27,3 @@ * Whether there are more items to be loaded. Event listeners are removed if false.

*/
hasMore?: boolean;
hasMore?: boolean | undefined;
/**

@@ -33,3 +33,3 @@ * Whether the component should load the first set of items.

*/
initialLoad?: boolean;
initialLoad?: boolean | undefined;
/**

@@ -39,3 +39,3 @@ * Whether new items should be loaded when user scrolls to the top of the scrollable area.

*/
isReverse?: boolean;
isReverse?: boolean | undefined;
/**

@@ -50,3 +50,3 @@ * A callback for when more items are requested by the user.

*/
pageStart?: number;
pageStart?: number | undefined;
/**

@@ -56,3 +56,3 @@ * The distance in pixels before the end of the items that will trigger a call to loadMore.

*/
threshold?: number;
threshold?: number | undefined;
/**

@@ -62,3 +62,3 @@ * Proxy to the useCapture option of the added event listeners.

*/
useCapture?: boolean;
useCapture?: boolean | undefined;
/**

@@ -68,7 +68,7 @@ * Add scroll listeners to the window, or else, the component's parentNode.

*/
useWindow?: boolean;
useWindow?: boolean | undefined;
/**
* Loader component for indicating "loading more".
*/
loader?: React.ReactElement;
loader?: React.ReactElement | undefined;
/**

@@ -75,0 +75,0 @@ * Override method to return a different scroll listener if it's not the immediate parent of InfiniteScroll.

{
"name": "@types/react-infinite-scroller",
"version": "1.2.1",
"version": "1.2.2",
"description": "TypeScript definitions for react-infinite-scroller",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-infinite-scroller",
"license": "MIT",

@@ -29,6 +30,7 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/react-infinite-scroller"
},

@@ -39,4 +41,4 @@ "scripts": {},

},
"typesPublisherContentHash": "015be95610ca2ac39810af2620f5d3578aef2777cc338c63e20ca54ae0388520",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "706af14a7041701e3d4a13ec22d5fd90928fbf962595b95352130c14b69bed91",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for react-infinite-scroller ( https://github.com/CassetteRocks/react-infinite-scroller ).
This package contains type definitions for react-infinite-scroller (https://github.com/CassetteRocks/react-infinite-scroller).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-infinite-scroller
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-infinite-scroller.
Additional Details
* Last updated: Wed, 13 Feb 2019 21:06:15 GMT
* Dependencies: @types/react
### Additional Details
* Last updated: Wed, 07 Jul 2021 17:33:45 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written by Lauri Lavanti <https://github.com/Lapanti>, Piotr Srebniak <https://github.com/psrebniak>, Brett Miller <https://github.com/WrathZA>, Yipeng Zhao <https://github.com/daggerjames>.
These definitions were written by [Lauri Lavanti](https://github.com/Lapanti), [Piotr Srebniak](https://github.com/psrebniak), [Brett Miller](https://github.com/WrathZA), and [Yipeng Zhao](https://github.com/daggerjames).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc