UNPKG

ra-core

Version:

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

15 lines 452 B
import { SaveContextValue } from './SaveContext'; /** * Get the save() function and its status * * Used in forms. * * @example * * const { * save, * saving * } = useSaveContext(); */ export declare const useSaveContext: <PropsType extends SaveContextValue<any, (...args: any[]) => any> = SaveContextValue<any, (...args: any[]) => any>>(_props?: PropsType | undefined) => SaveContextValue; //# sourceMappingURL=useSaveContext.d.ts.map