@redocly/theme
Version:
Shared UI components lib
9 lines (8 loc) • 321 B
TypeScript
import type { EntitiesCatalogConfig } from '@redocly/config';
export type EntityWithTypeAndKey = {
type?: string;
key?: string;
};
export declare function useCatalogEntityLink(entitiesCatalogConfig: EntitiesCatalogConfig | undefined): {
getEntityLink: (entity: EntityWithTypeAndKey) => string | undefined;
};