@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 • 351 B
Source Map (JSON)
import type { IResourceItem } from "../../../contexts/resource/types";
/**
* Returns the parent resource of the given resource.
* Uses the `resource.meta.parent` property.
*/
export declare const getParentResource: (resource: IResourceItem, resources: IResourceItem[]) => IResourceItem | undefined;
//# sourceMappingURL=get-parent-resource.d.ts.map