From c995e3d939d365d8d11934e7457b076c477a4314 Mon Sep 17 00:00:00 2001 From: Brian Fletcher Date: Mon, 16 Jan 2023 09:00:42 +0000 Subject: [PATCH] export BazaarPageProps instead of HomePageProps Signed-off-by: Brian Fletcher --- plugins/bazaar/api-report.md | 14 +++++++------- plugins/bazaar/src/index.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/bazaar/api-report.md b/plugins/bazaar/api-report.md index 7b27969dd4..f4104258e7 100644 --- a/plugins/bazaar/api-report.md +++ b/plugins/bazaar/api-report.md @@ -24,7 +24,13 @@ export type BazaarOverviewCardProps = { }; // @public (undocumented) -export const BazaarPage: (props: HomePageProps) => JSX.Element; +export const BazaarPage: (props: BazaarPageProps) => JSX.Element; + +// @public (undocumented) +export type BazaarPageProps = { + title?: string; + subtitle?: string; +}; // @public (undocumented) export const bazaarPlugin: BackstagePlugin< @@ -38,12 +44,6 @@ export const bazaarPlugin: BackstagePlugin< // @public (undocumented) export const EntityBazaarInfoCard: () => JSX.Element | null; -// @public (undocumented) -export type HomePageProps = { - title?: string; - subtitle?: string; -}; - // @public (undocumented) export const isBazaarAvailable: ( entity: Entity, diff --git a/plugins/bazaar/src/index.ts b/plugins/bazaar/src/index.ts index 9653108e18..585bab1789 100644 --- a/plugins/bazaar/src/index.ts +++ b/plugins/bazaar/src/index.ts @@ -20,4 +20,4 @@ export { BazaarOverviewCard } from './components/BazaarOverviewCard'; export type { BazaarOverviewCardProps } from './components/BazaarOverviewCard'; export { EntityBazaarInfoCard } from './components/EntityBazaarInfoCard'; export { SortView } from './components/SortView'; -export type { HomePageProps } from './components/HomePage'; +export type { HomePageProps as BazaarPageProps } from './components/HomePage';