plugins: add title, icon, and NFS page variants to migrated plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
"@backstage/ui": "workspace:^",
|
||||
"@material-ui/core": "^4.9.13",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@remixicon/react": "^4.6.0",
|
||||
"lodash": "^4.17.21",
|
||||
"material-ui-confirm": "^3.0.12",
|
||||
"notistack": "^3.0.1",
|
||||
|
||||
@@ -21,6 +21,7 @@ import {
|
||||
discoveryApiRef,
|
||||
fetchApiRef,
|
||||
} from '@backstage/frontend-plugin-api';
|
||||
import { RiNotification3Line } from '@remixicon/react';
|
||||
import { rootRouteRef } from './routes';
|
||||
import { NotificationsClient, notificationsApiRef } from './api';
|
||||
|
||||
@@ -48,6 +49,8 @@ const api = ApiBlueprint.make({
|
||||
/** @alpha */
|
||||
export default createFrontendPlugin({
|
||||
pluginId: 'notifications',
|
||||
title: 'Notifications',
|
||||
icon: <RiNotification3Line />,
|
||||
info: { packageJson: () => import('../package.json') },
|
||||
routes: {
|
||||
root: rootRouteRef,
|
||||
|
||||
Reference in New Issue
Block a user