From 032f03b502c9ab00bc9814330b2499f25102a072 Mon Sep 17 00:00:00 2001 From: Zach Hammer Date: Wed, 19 Apr 2023 09:10:23 -0400 Subject: [PATCH] Build api report Signed-off-by: Zach Hammer --- plugins/stack-overflow/api-report.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/plugins/stack-overflow/api-report.md b/plugins/stack-overflow/api-report.md index 598bd06a04..b006f263ed 100644 --- a/plugins/stack-overflow/api-report.md +++ b/plugins/stack-overflow/api-report.md @@ -8,8 +8,9 @@ import { ApiRef } from '@backstage/core-plugin-api'; import { BackstagePlugin } from '@backstage/core-plugin-api'; import { CardExtensionProps } from '@backstage/plugin-home'; -import { ReactNode } from 'react'; +import { default as React_2 } from 'react'; import { ResultHighlight } from '@backstage/plugin-search-common'; +import { SearchResultListItemExtensionProps } from '@backstage/plugin-search-react'; // @public export const HomePageStackOverflowQuestions: ( @@ -53,10 +54,15 @@ export type StackOverflowQuestionsRequestParams = { }; // @public -export const StackOverflowSearchResultListItem: (props: { - result: any; - icon?: ReactNode; - rank?: number | undefined; - highlight?: ResultHighlight | undefined; -}) => JSX.Element; +export const StackOverflowSearchResultListItem: ( + props: SearchResultListItemExtensionProps, +) => JSX.Element | null; + +// @public +export type StackOverflowSearchResultListItemProps = { + result?: any; + icon?: React_2.ReactNode; + rank?: number; + highlight?: ResultHighlight; +}; ```