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 • 580 B
TypeScript
import { RaRecord } from '../../types';
import { ShowControllerResult } from './useShowController';
/**
* Hook to read the show controller props from the ShowContext.
*
* Used within a <ShowContextProvider> (e.g. as a descendent of <Show>).
*
* @returns {ShowControllerResult} create controller props
*
* @see useShowController for how it is filled
*/
export declare const useShowContext: <RecordType extends RaRecord<import("../../types").Identifier> = any, ErrorType = Error>() => ShowControllerResult<RecordType, ErrorType>;
//# sourceMappingURL=useShowContext.d.ts.map