import { ReactElement } from 'react'; import { InfiniteListBaseProps, RaRecord } from 'ra-core'; import { ListViewProps } from './ListView'; /** * Infinite List page component * * The component renders the list layout (title, buttons, filters), * and fetches the list of records from the REST API. * * It then delegates the rendering of the list of records to its child component. * Usually, it's a , responsible for displaying a table with one row for each post. * * It contains an component, which fetches the next page of records * when the user scrolls to the bottom of the list. * * The component accepts the following props: * * - actions * - aside: Side Component * - children: List Layout * - component * - disableAuthentication * - disableSyncWithLocation * - empty: Empty Page Component * - emptyWhileLoading * - exporter * - filters: Filter Inputs * - filter: Permanent Filter * - filterDefaultValues * - pagination: Pagination Component * - perPage: Pagination Size * - queryOptions * - sort: Default Sort Field & Order * - title * - sx: CSS API * * @example * const postFilters = [ * , * * ]; * export const PostList = () => ( * * * * * * * * ); */ export declare const InfiniteList: (props: InfiniteListProps) => ReactElement; export interface InfiniteListProps extends InfiniteListBaseProps, ListViewProps { } declare const PREFIX = "RaInfiniteList"; declare module '@mui/material/styles' { interface ComponentsPropsList { [PREFIX]: Partial; } interface Components { [PREFIX]?: { defaultProps?: ComponentsPropsList[typeof PREFIX]; }; } } export {}; //# sourceMappingURL=InfiniteList.d.ts.map