it just keeps 🧹 -ing

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-18 16:58:54 +02:00
parent d461eca145
commit ef9ab322de
55 changed files with 193 additions and 302 deletions
+1 -8
View File
@@ -7,18 +7,11 @@
import { BackstagePlugin } from '@backstage/core-plugin-api';
// Warning: (ae-missing-release-tag) "badgesPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const badgesPlugin: BackstagePlugin<{}, {}, {}>;
// Warning: (ae-missing-release-tag) "EntityBadgesDialog" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const EntityBadgesDialog: ({
open,
onClose,
}: {
export const EntityBadgesDialog: (props: {
open: boolean;
onClose?: (() => any) | undefined;
}) => JSX.Element;
@@ -37,12 +37,11 @@ import {
} from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';
type Props = {
export const EntityBadgesDialog = (props: {
open: boolean;
onClose?: () => any;
};
export const EntityBadgesDialog = ({ open, onClose }: Props) => {
}) => {
const { open, onClose } = props;
const theme = useTheme();
const { entity } = useAsyncEntity();
const fullScreen = useMediaQuery(theme.breakpoints.down('sm'));
+2
View File
@@ -22,6 +22,7 @@ import {
identityApiRef,
} from '@backstage/core-plugin-api';
/** @public */
export const badgesPlugin = createPlugin({
id: 'badges',
apis: [
@@ -34,6 +35,7 @@ export const badgesPlugin = createPlugin({
],
});
/** @public */
export const EntityBadgesDialog = badgesPlugin.provide(
createComponentExtension({
name: 'EntityBadgesDialog',