import * as React from 'react'; import { ReactNode } from 'react'; import { InfiniteListControllerProps } from './useInfiniteListController'; import { RaRecord } from '../../types'; /** * Call useInfiniteListController and put the value in a ListContext * * Base class for components, without UI. * * Accepts any props accepted by useInfiniteListController: * - filter: permanent filter applied to the list * - filters: Filter element, to display the filters * - filterDefaultValues: object; * - perPage: Number of results per page * - sort: Default sort * - exporter: exported function * * @example // Custom list layout * * const PostList = () => ( * *
* List metrics... *
* * * record.title} /> * * * List instructions... * * *
* Post related links... *
* * ); */ export declare const InfiniteListBase: ({ children, loading, ...props }: InfiniteListBaseProps) => string | number | boolean | Iterable | React.JSX.Element | null; export interface InfiniteListBaseProps extends InfiniteListControllerProps { children: ReactNode; loading?: ReactNode; } //# sourceMappingURL=InfiniteListBase.d.ts.map