app-next-example-plugin: api report + fixes

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-06 10:28:35 +02:00
parent 3f49724db8
commit c2c07a1c02
3 changed files with 22 additions and 0 deletions
@@ -0,0 +1,20 @@
## API Report File for "app-next-example-plugin"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { BackstagePlugin } from '@backstage/frontend-plugin-api';
import { default as React_2 } from 'react';
// Warning: (ae-missing-release-tag) "examplePlugin" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const examplePlugin: BackstagePlugin;
// Warning: (ae-missing-release-tag) "ExampleSidebarItem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const ExampleSidebarItem: () => React_2.JSX.Element;
// (No @packageDocumentation comment for this package)
```
@@ -18,6 +18,7 @@ import React from 'react';
import { SidebarItem } from '@backstage/core-components';
import SaveIcon from '@material-ui/icons/Save';
/** @public */
export const ExampleSidebarItem = () => (
<SidebarItem text="Example" to="/example" icon={SaveIcon} />
);
@@ -26,6 +26,7 @@ export const ExamplePage = createPageExtension({
component: () => import('./Component').then(m => <m.Component />),
});
/** @public */
export const examplePlugin = createPlugin({
id: 'example',
extensions: [ExamplePage],