import * as React from 'react'; import { type ComponentsOverrides, type StackProps } from '@mui/material'; import { type RaRecord } from 'ra-core'; /** * Iterator component to be used to display a list of entities, using a single field * * @example Display all the orders by the current customer as a list of chips * * * * @example Choose the field to be used as text label * * * * * * * @example Customize the link type * // By default, it includes a link to the page of the related record * // (`/orders/:id` in the previous example). * // Set the linkType prop to "show" to link to the page instead. * * * * * * * @example Disable the link * // You can also prevent `` from adding link to children by * // setting `linkType` to false. * * * * * */ export declare const SingleFieldList: (inProps: SingleFieldListProps) => React.JSX.Element | null; export interface SingleFieldListProps extends StackProps { className?: string; empty?: React.ReactElement; linkType?: string | false; children?: React.ReactNode; data?: RecordType[]; total?: number; loaded?: boolean; } export declare const SingleFieldListClasses: { link: string; }; declare module '@mui/material/styles' { interface ComponentNameToClassKey { RaSingleFieldList: 'root' | 'link'; } interface ComponentsPropsList { RaSingleFieldList: Partial; } interface Components { RaSingleFieldList?: { defaultProps?: ComponentsPropsList['RaSingleFieldList']; styleOverrides?: ComponentsOverrides>['RaSingleFieldList']; }; } } //# sourceMappingURL=SingleFieldList.d.ts.map