UNPKG

react-common-use-components

Version:
14 lines (13 loc) 448 B
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;