/// import { Record } from '../../features/core'; import { TypographyProps } from '@mui/material/Typography'; import { PublicFieldProps, InjectedFieldProps } from './types'; /** * Field using a render function * * @example * record && `${record.first_name} ${record.last_name}`} * /> */ declare const FunctionField: { (props: FunctionFieldProps): JSX.Element; defaultProps: { addLabel: boolean; }; propTypes: any; }; export interface FunctionFieldProps extends PublicFieldProps, InjectedFieldProps, Omit { render: (record?: RecordType, source?: string) => any; } export default FunctionField;