UNPKG

@servicetitan/assist-ui

Version:

ServiceTitan Atlas UI Components

18 lines 636 B
import { FC, PropsWithChildren, ReactNode, RefObject } from 'react'; export interface InfiniteContentProps { loading?: boolean; className?: string; hasMore?: boolean; onLoadMore?: () => void; loadingMore?: boolean; rootMargin?: string; threshold?: number; renderLoadingMore?: () => ReactNode; renderEndMessage?: () => ReactNode; onScrollDown?: () => void; onScrollTop?: () => void; scrollThreshold?: number; scrollContainerRef?: RefObject<HTMLElement>; } export declare const InfiniteContent: FC<PropsWithChildren<InfiniteContentProps>>; //# sourceMappingURL=infinite-content.d.ts.map