import { SxProps } from '@mui/material'; import { FieldProps } from 'react-admin'; type CoverFieldProps = { width?: number | string; height?: number | string; circle?: boolean; justify?: 'flex-start' | 'center' | 'flex-end'; sx?: SxProps; } & FieldProps; /** * A component that displays an image in a circle or square (with minimum radius). * * @example * // Suppose you have a property, in your record, called 'image' and it contains a base64 string related field called '_image'. * // You can use this component as follows: * ... * * * // If you want the Circle version: * * * // With custom width/height: * */ declare function CoverField({ width: defaultWidth, height: defaultHeight, circle: defaultCircle, justify: defaultJustify, record: _propRecord, sx: _sx, ...props }: CoverFieldProps): JSX.Element; export { CoverField }; export type { CoverFieldProps }; //# sourceMappingURL=CoverField.d.ts.map