UNPKG

@refinedev/core

Version:

refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.

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