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
+1 -1
View File
@@ -6,7 +6,7 @@
/// <reference types="react" />
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { ComponentRenderer } from '@backstage/plugin-home/src/extensions';
import { ComponentRenderer } from '@backstage/plugin-home';
import { ReactNode } from 'react';
// @public
+4 -3
View File
@@ -36,14 +36,15 @@
"@testing-library/jest-dom": "^5.10.1"
},
"peerDependencies": {
"@types/react": "^16.13.1 || ^17.0.0",
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.13.2-next.0",
"@backstage/cli": "^0.15.0",
"@backstage/test-utils": "^0.3.0",
"@testing-library/react": "^11.2.5",
"@backstage/core-app-api": "^0.5.2",
"@backstage/dev-utils": "^0.2.21-next.0",
"@backstage/test-utils": "^0.2.4",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^13.1.8",
"@types/jest": "*",
"@types/node": "*",