import * as React from 'react'; import { ReactNode } from 'react'; import { RaRecord } from '../../types'; import { EditControllerProps } from './useEditController'; /** * Call useEditController and put the value in a EditContext * * Base class for components, without UI. * * Accepts any props accepted by useEditController: * - id: The record identifier * - resource: The resource * * @example // Custom edit layout * * const PostEdit = () => ( * * * * * ... * * * * Edit instructions... * * *
* Post related links... *
*
* ); */ export declare const EditBase: ({ children, loading, ...props }: EditBaseProps) => string | number | boolean | Iterable | React.JSX.Element | null; export interface EditBaseProps extends EditControllerProps { children: ReactNode; loading?: ReactNode; } //# sourceMappingURL=EditBase.d.ts.map