UNPKG

@refinedev/core

Version:

Refine is a React meta-framework for building enterprise-level, data-intensive applications rapidly with support for modern UI libraries and headless integrations.

7 lines 384 B
import type { IResourceItem } from "../../../contexts/resource/types"; /** * Returns the parent resource of the given resource. * Works both with the deprecated `parentName` and the new `parent` property. */ export declare const getParentResource: (resource: IResourceItem, resources: IResourceItem[]) => IResourceItem | undefined; //# sourceMappingURL=get-parent-resource.d.ts.map