@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 • 420 B
text/typescript
import type { ResourceProps } from "../../../contexts/resource/types";
/**
* Returns the parent prefix for a resource
* - If `legacy` is provided, the computation is based on the `route` option of the resource
*/
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[], legacy?: boolean) => string | undefined;
//# sourceMappingURL=get-parent-prefix-for-resource.d.ts.map