export ComponentRenderer type from home plugin

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
Emma Indal
2022-03-04 15:19:07 +01:00
parent 140cf15341
commit a27a0e61d4
5 changed files with 17 additions and 6 deletions
+8 -1
View File
@@ -39,6 +39,13 @@ export const ComponentAccordion: ({
ContextProvider?: ((props: any) => JSX.Element) | undefined;
}) => JSX.Element;
// Warning: (ae-missing-release-tag) "ComponentRenderer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type ComponentRenderer = {
Renderer?: (props: RendererProps) => JSX.Element;
};
// Warning: (ae-missing-release-tag) "ComponentTab" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
@@ -103,7 +110,6 @@ export const HomepageCompositionRoot: (props: {
children?: ReactNode;
}) => JSX.Element;
// Warning: (ae-forgotten-export) The symbol "ComponentRenderer" needs to be exported by the entry point index.d.ts
// 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)
@@ -161,5 +167,6 @@ export const WelcomeTitle: () => JSX.Element;
// Warnings were encountered during analysis:
//
// src/extensions.d.ts:3:5 - (ae-forgotten-export) The symbol "RendererProps" needs to be exported by the entry point index.d.ts
// src/extensions.d.ts:24:5 - (ae-forgotten-export) The symbol "ComponentParts" needs to be exported by the entry point index.d.ts
```
+1
View File
@@ -35,3 +35,4 @@ export {
export { SettingsModal, HeaderWorldClock } from './components';
export type { ClockConfig } from './components';
export { createCardExtension } from './extensions';
export type { ComponentRenderer } from './extensions';