Search Bar Home Page Component (#7013)
feat: add search bar home page component
This commit is contained in:
+13
-13
@@ -84,6 +84,19 @@ export const HomepageCompositionRoot: (props: {
|
||||
children?: ReactNode;
|
||||
}) => JSX.Element;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "HomePageRandomJoke" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const HomePageRandomJoke: ({
|
||||
Renderer,
|
||||
title: overrideTitle,
|
||||
...childProps
|
||||
}: ComponentRenderer & {
|
||||
title?: string | undefined;
|
||||
} & {
|
||||
defaultCategory?: 'any' | 'programming' | undefined;
|
||||
}) => JSX.Element;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "homePlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
@@ -94,19 +107,6 @@ export const homePlugin: BackstagePlugin<
|
||||
{}
|
||||
>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "RandomJokeHomePageComponent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const RandomJokeHomePageComponent: ({
|
||||
Renderer,
|
||||
title: overrideTitle,
|
||||
...childProps
|
||||
}: ComponentRenderer & {
|
||||
title?: string | undefined;
|
||||
} & {
|
||||
defaultCategory?: 'any' | 'programming' | undefined;
|
||||
}) => JSX.Element;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "SettingsModal" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
export {
|
||||
homePlugin,
|
||||
HomepageCompositionRoot,
|
||||
RandomJokeHomePageComponent,
|
||||
HomePageRandomJoke,
|
||||
ComponentAccordion,
|
||||
ComponentTabs,
|
||||
ComponentTab,
|
||||
|
||||
@@ -60,7 +60,7 @@ export const ComponentTab = homePlugin.provide(
|
||||
}),
|
||||
);
|
||||
|
||||
export const RandomJokeHomePageComponent = homePlugin.provide(
|
||||
export const HomePageRandomJoke = homePlugin.provide(
|
||||
createCardExtension<{ defaultCategory?: 'any' | 'programming' }>({
|
||||
title: 'Random Joke',
|
||||
components: () => import('./homePageComponents/RandomJoke'),
|
||||
|
||||
Reference in New Issue
Block a user