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 483 B
import type { RaRecord } from "../types.js"; import { UseGetRouteForRecordOptions } from "./useGetPathForRecord.js"; 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