Expose EntityLinksEmptyState to material-ui overrides
Signed-off-by: Daniel Ortiz Lira <dortiz@vmware.com>
This commit is contained in:
@@ -26,13 +26,18 @@ const ENTITY_YAML = `metadata:
|
||||
title: My Dashboard
|
||||
icon: dashboard`;
|
||||
|
||||
const useStyles = makeStyles<BackstageTheme>(theme => ({
|
||||
code: {
|
||||
borderRadius: 6,
|
||||
margin: `${theme.spacing(2)}px 0px`,
|
||||
background: theme.palette.type === 'dark' ? '#444' : '#fff',
|
||||
},
|
||||
}));
|
||||
export type EntityLinksEmptyStateClassKey = 'code';
|
||||
|
||||
const useStyles = makeStyles<BackstageTheme>(
|
||||
theme => ({
|
||||
code: {
|
||||
borderRadius: 6,
|
||||
margin: `${theme.spacing(2)}px 0px`,
|
||||
background: theme.palette.type === 'dark' ? '#444' : '#fff',
|
||||
},
|
||||
}),
|
||||
{ name: 'PluginCatalogEntityLinksEmptyState' },
|
||||
);
|
||||
|
||||
export const EntityLinksEmptyState = () => {
|
||||
const classes = useStyles();
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export { EntityLinksCard } from './EntityLinksCard';
|
||||
export type { EntityLinksEmptyStateClassKey } from './EntityLinksEmptyState';
|
||||
|
||||
Reference in New Issue
Block a user