Createa @backstage/plugin-catalog-common-react package
This commit is contained in:
@@ -15,17 +15,17 @@
|
||||
*/
|
||||
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { EntityProvider } from '@backstage/plugin-catalog';
|
||||
import { Content, Header, Page } from '@backstage/core';
|
||||
import { createDevApp, EntityGridItem } from '@backstage/dev-utils';
|
||||
import { EntityProvider } from '@backstage/plugin-catalog-common-react';
|
||||
import { Grid } from '@material-ui/core';
|
||||
import React from 'react';
|
||||
import {
|
||||
EntitySentryCard,
|
||||
EntitySentryContent,
|
||||
MockSentryApi,
|
||||
SentryApi,
|
||||
sentryApiRef,
|
||||
EntitySentryCard,
|
||||
EntitySentryContent,
|
||||
} from '../src';
|
||||
import { SENTRY_PROJECT_SLUG_ANNOTATION } from '../src/components/useProjectSlug';
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^0.7.0",
|
||||
"@backstage/core": "^0.5.0",
|
||||
"@backstage/plugin-catalog": "^0.2.14",
|
||||
"@backstage/plugin-catalog-common-react": "^0.0.1",
|
||||
"@backstage/theme": "^0.2.2",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {
|
||||
createComponentExtension,
|
||||
createRoutableExtension,
|
||||
} from '@backstage/core';
|
||||
import { useEntity } from '@backstage/plugin-catalog';
|
||||
import { useEntity } from '@backstage/plugin-catalog-common-react';
|
||||
import React from 'react';
|
||||
import { plugin, rootRouteRef } from './plugin';
|
||||
|
||||
export const EntitySentryContent = plugin.provide(
|
||||
|
||||
Reference in New Issue
Block a user