UNPKG

ra-core

Version:

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

7 lines 485 B
import type { RaRecord } from "../types.cjs"; import { UseGetRouteForRecordOptions } from "./useGetPathForRecord.cjs"; export declare const useGetPathForRecordCallback: <RecordType extends RaRecord = RaRecord>(options?: UseGetPathForRecordCallbackOptions) => (params: UseGetRouteForRecordOptions<RecordType>) => Promise<string | false | undefined>; export interface UseGetPathForRecordCallbackOptions { resource?: string; } //# sourceMappingURL=useGetPathForRecordCallback.d.ts.map