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 • 539 B
TypeScript
import type { RaRecord } from '../types';
import { UseGetRouteForRecordOptions } from './useGetPathForRecord';
export declare const useGetPathForRecordCallback: <RecordType extends RaRecord<import("../types").Identifier> = RaRecord<import("../types").Identifier>>(options?: UseGetPathForRecordCallbackOptions) => (params: UseGetRouteForRecordOptions<RecordType>) => Promise<string | false | undefined>;
export interface UseGetPathForRecordCallbackOptions {
resource?: string;
}
//# sourceMappingURL=useGetPathForRecordCallback.d.ts.map