UNPKG

reactopod

Version:

React Hooks for Typesaurus, type-safe Firestore ODM

15 lines (14 loc) 429 B
import { FirestoreOrderByDirection } from 'typesaurus/adaptor' export declare type InfiniteLoadMoreFunction = () => void export declare type InfiniteLoadMoreState = | InfiniteLoadMoreFunction | undefined | null export declare type InfiniteQueryOptions<Field> = { field: Field limit: number method?: FirestoreOrderByDirection } export declare type InfiniteCursorsState = { [cursorId: string]: 'loading' | 'loaded' }