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.

8 lines 450 B
import type { IResourceItem } from "../../../contexts/resource/types"; /** * Picks the resource based on the provided identifier. * It will first try to match based on the identifier, then the name. * Identifier fallbacks to `name` if `identifier` is not explicitly provided to the resource. */ export declare const pickResource: (identifier?: string, resources?: IResourceItem[]) => IResourceItem | undefined; //# sourceMappingURL=index.d.ts.map