review suggestions

Signed-off-by: Reyna Nikolayev <reyna.nikolayev@autodesk.com>
This commit is contained in:
Reyna Nikolayev
2025-04-21 09:28:36 -07:00
parent b9b3b3520d
commit 61f2aac5e4
7 changed files with 17 additions and 13 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2025 The Backstage Authors
* Copyright 2022 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import Box from '@material-ui/core/Box';
import { makeStyles, Theme } from '@material-ui/core/styles';
/** @public */
export type BackstageContentModalClassKey = 'contentModal' | 'linkText';
export type PluginHomeContentModalClassKey = 'contentModal' | 'linkText';
export const useStyles = makeStyles(
(theme: Theme) => ({
@@ -37,7 +37,7 @@ export const useStyles = makeStyles(
marginBottom: theme.spacing(1.5),
},
}),
{ name: 'BackstageContentModal' },
{ name: 'PluginHomeContentModal' },
);
/**
+1 -1
View File
@@ -17,5 +17,5 @@
export { SettingsModal } from './SettingsModal';
export { ContentModal } from './ContentModal';
export type { BackstageContentModalClassKey } from './ContentModal';
export type { PluginHomeContentModalClassKey } from './ContentModal';
export type { ContentModalProps } from './ContentModal';
@@ -16,11 +16,11 @@
import { Overrides } from '@material-ui/core/styles/overrides';
import { StyleRules } from '@material-ui/core/styles/withStyles';
import { BackstageContentModalClassKey } from './';
import { PluginHomeContentModalClassKey } from './';
/** @public */
export type CatalogReactComponentsNameToClassKey = {
BackstageContentModal: BackstageContentModalClassKey;
PluginHomeContentModal: PluginHomeContentModalClassKey;
};
/** @public */