update api report and prop on Reader component in EntityPageDocs
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
@@ -182,7 +182,7 @@ export type PanelType = 'DocsCardGrid' | 'DocsTable';
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const Reader: ({
|
||||
entityId,
|
||||
entityRef,
|
||||
onReady,
|
||||
withSearch,
|
||||
}: Props_3) => JSX.Element;
|
||||
@@ -278,7 +278,7 @@ export const TechdocsPage: () => JSX.Element;
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const TechDocsPageHeader: ({
|
||||
entityId,
|
||||
entityRef,
|
||||
entityMetadata,
|
||||
techDocsMetadata,
|
||||
}: TechDocsPageHeaderProps) => JSX.Element;
|
||||
@@ -287,7 +287,7 @@ export const TechDocsPageHeader: ({
|
||||
//
|
||||
// @public (undocumented)
|
||||
export type TechDocsPageHeaderProps = {
|
||||
entityId: EntityName;
|
||||
entityRef: EntityName;
|
||||
entityMetadata?: TechDocsEntityMetadata;
|
||||
techDocsMetadata?: TechDocsMetadata;
|
||||
};
|
||||
@@ -305,11 +305,11 @@ export type TechDocsPageProps = {
|
||||
export type TechDocsPageRenderFunction = ({
|
||||
techdocsMetadataValue,
|
||||
entityMetadataValue,
|
||||
entityId,
|
||||
entityRef,
|
||||
}: {
|
||||
techdocsMetadataValue?: TechDocsMetadata | undefined;
|
||||
entityMetadataValue?: TechDocsEntityMetadata | undefined;
|
||||
entityId: EntityName;
|
||||
entityRef: EntityName;
|
||||
onReady: () => void;
|
||||
}) => JSX.Element;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ export const EntityPageDocs = ({ entity }: { entity: Entity }) => {
|
||||
return (
|
||||
<Reader
|
||||
withSearch={false}
|
||||
entityId={{
|
||||
entityRef={{
|
||||
kind: entity.kind,
|
||||
namespace: entity.metadata.namespace ?? 'default',
|
||||
name: entity.metadata.name,
|
||||
|
||||
Reference in New Issue
Block a user