react-horizontal-infinite-scroll
Advanced tools
Comparing version 1.0.1 to 1.0.2
import React, { useEffect, useRef } from "react"; | ||
function InfiniteScroll({ | ||
mainWrapper = <div />, | ||
mainWrapper = null, | ||
children, | ||
@@ -38,3 +38,3 @@ loader, | ||
InfiniteScroll.defaultProps = { | ||
mainWrapper: <div />, //Should be html tag or React element | ||
mainWrapper: null, //Should be html tag or React element | ||
loader: null, //It should be a React element. | ||
@@ -41,0 +41,0 @@ dipatchScroll: (data) => { |
{ | ||
"name": "react-horizontal-infinite-scroll", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "To handle infinite scroll with a simple, lightweight and high responsive manner with this infinite-scroll-package.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3970