frontend-plugin-api: refactor coreExtensionData.reactComponent -> .reactElement

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-13 12:07:46 +02:00
parent f4c98b07e6
commit 5fb348af52
14 changed files with 46 additions and 55 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ import { createApiFactory } from '@backstage/core-plugin-api';
export const GraphiqlPage = createPageExtension({
id: 'plugin.graphiql.page',
defaultPath: '/graphiql',
component: () => import('./components').then(m => <m.GraphiQLPage />),
loader: () => import('./components').then(m => <m.GraphiQLPage />),
});
/** @internal */