Socket
Socket
Sign inDemoInstall

@types/react-infinite-scroll-component

Package Overview
Dependencies
3
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.2.0

8

react-infinite-scroll-component/index.d.ts

@@ -1,4 +0,5 @@

// Type definitions for react-infinite-scroll-component 4.1
// Type definitions for react-infinite-scroll-component 4.2
// Project: https://github.com/ankeetmaini/react-infinite-scroll-component#readme
// Definitions by: Stephanie Roy <https://github.com/sroy3>
// Bartosz Dotryw <https://github.com/burtek>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -64,5 +65,6 @@ // TypeScript Version: 2.6

/**
* A threshold value after that the InfiniteScroll will call next. By default it's 0.8. It means the next will be called when the user comes below 80% of the total height.
* A threshold value defining when InfiniteScroll will call next. Default value is 0.8. It means the next will be called when user comes below 80% of the total height.
* If you pass threshold in pixels (scrollThreshold="200px"), next will be called once you scroll at least (100% - scrollThreshold) pixels down.
*/
scrollThreshold?: number;
scrollThreshold?: number | string;

@@ -69,0 +71,0 @@ /**

{
"name": "@types/react-infinite-scroll-component",
"version": "4.1.0",
"version": "4.2.0",
"description": "TypeScript definitions for react-infinite-scroll-component",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "sroy3"
},
{
"name": "Bartosz Dotryw",
"url": "https://github.com/burtek",
"githubUsername": "burtek"
}

@@ -23,4 +28,4 @@ ],

},
"typesPublisherContentHash": "22152aca4bad0a45b5a61f1b6f9b11dc92d1275a2bebc6e3d287d4dc0f1f2019",
"typesPublisherContentHash": "47ff0b0a30ef780cc67f7c434405c9be9e80b8c04974fb6ba647969a6a8df60b",
"typeScriptVersion": "2.6"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 06 Jun 2018 05:14:34 GMT
* Last updated: Fri, 03 Aug 2018 01:26:22 GMT
* Dependencies: react

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Stephanie Roy <https://github.com/sroy3>.
These definitions were written by Stephanie Roy <https://github.com/sroy3>, Bartosz Dotryw <https://github.com/burtek>.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc