@redocly/theme
Version:
Shared UI components lib
16 lines (15 loc) • 711 B
TypeScript
import React from 'react';
import type { CatalogEntityConfig } from '@redocly/config';
import type { BffCatalogEntity, BffCatalogRelatedEntity } from '../../../core/types';
export type CatalogEntitySchemaProps = {
entity: BffCatalogEntity;
relatedEntity: BffCatalogRelatedEntity | null;
catalogConfig: CatalogEntityConfig;
RedocSchema: React.ComponentType<any>;
StoreProvider: React.ComponentType<any>;
GraphqlTypeRenderer?: React.ComponentType<{
sdl: string;
typeName: string;
}>;
};
export declare function CatalogEntitySchema({ entity, relatedEntity, catalogConfig, RedocSchema, StoreProvider, GraphqlTypeRenderer, }: CatalogEntitySchemaProps): React.JSX.Element;