@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.
12 lines • 485 B
text/typescript
import type { MetaQuery } from "../../contexts/data/types";
import type { IResourceItem } from "../../contexts/resource/types";
/**
* Hook that returns a function to get meta.
* The meta is a combination of the resource meta, hook meta, query params and metaContext value.
* @internal
*/
export declare const useMeta: () => ({ resource, meta: metaFromProp, }?: {
resource?: IResourceItem;
meta?: MetaQuery;
}) => Record<string, unknown>;
//# sourceMappingURL=index.d.ts.map