diff --git a/plugins/catalog/src/data/utils.tsx b/plugins/catalog/src/data/utils.tsx index 71661ead53..dc72f1ce14 100644 --- a/plugins/catalog/src/data/utils.tsx +++ b/plugins/catalog/src/data/utils.tsx @@ -17,6 +17,13 @@ import React from 'react'; import { Component } from './component'; import { Entity, Location } from '@backstage/catalog-model'; import Edit from '@material-ui/icons/Edit'; +import IconButton from '@material-ui/core/IconButton'; +import { styled } from '@material-ui/core/styles'; + +const DescriptionWrapper = styled('span')({ + display: 'flex', + alignItems: 'center', +}); export function envelopeToComponent( envelope: Entity, @@ -26,10 +33,14 @@ export function envelopeToComponent( name: envelope.metadata?.name ?? '', kind: envelope.kind ?? 'unknown', description: ( - + {envelope.metadata?.annotations?.description ?? 'placeholder'} - - + + + + + + ), location, };