react-common-use-components
Version:
A React mobile commonly used component library
14 lines (13 loc) • 448 B
TypeScript
import React, { ReactNode } from 'react';
interface InfiniteScrollProps {
children: ReactNode;
hasMore?: boolean;
loadMore?: () => void;
loading?: ReactNode;
end?: ReactNode;
threshold?: number;
total?: number;
dataLength?: number;
}
declare const InfiniteScroll: ({ children, hasMore, loadMore, loading, end, threshold, total, dataLength }: InfiniteScrollProps) => React.JSX.Element;
export default InfiniteScroll;