@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.
8 lines • 473 B
text/typescript
import type { Action } from "../../../contexts/router/types";
/**
* This helper function returns the default path for a given action and resource.
* It also applies the parentPrefix if provided.
* This is used by the legacy router and the new router if the resource doesn't provide a custom path.
*/
export declare const getDefaultActionPath: (resourceName: string, action: Action, parentPrefix?: string) => string;
//# sourceMappingURL=get-default-action-path.d.ts.map