UNPKG

ra-core

Version:

Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React

13 lines 578 B
import { RaRecord } from '../../types'; import { EditControllerResult } from './useEditController'; /** * Hook to read the edit controller props from the EditContext. * * Used within a <EditContextProvider> (e.g. as a descendent of <Edit>). * * @returns {EditControllerResult} edit controller props * * @see useEditController for how it is filled */ export declare const useEditContext: <RecordType extends RaRecord<import("../../types").Identifier> = any, ErrorType = Error>() => EditControllerResult<RecordType, ErrorType>; //# sourceMappingURL=useEditContext.d.ts.map