@wix/design-system
Version:
@wix/design-system
29 lines • 917 B
TypeScript
export default class InfiniteScroll extends React.Component<any, any, any> {
static defaultProps: {
hasMore: boolean;
initialLoad: boolean;
pageStart: number;
threshold: number;
useWindow: boolean;
isReverse: boolean;
scrollElement: null;
};
constructor(props: any);
scrollListener(): void;
componentDidMount(): void;
pageLoaded: any;
componentDidUpdate(prevProps: any): void;
render(): React.ReactElement<{
ref: (node: any) => any;
'data-hook': any;
}, string | React.JSXElementConstructor<any>>;
scrollComponent: any;
calculateTopPosition(el: any): any;
attachScrollListener(): void;
detachScrollListener: () => void;
componentWillUnmount(): void;
setDefaultLoader(loader: any): void;
_defaultLoader: any;
}
import React from 'react';
//# sourceMappingURL=InfiniteScroll.d.ts.map