fix(api-docs): Consistent Typography in Entity HasApisCard
Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-api-docs': patch
|
||||
---
|
||||
|
||||
Use consistent Typography in Entity HasApisCard
|
||||
@@ -29,5 +29,9 @@ export const ApiTypeTitle = (props: { apiEntity: ApiEntity }) => {
|
||||
const definition = config.getApiDefinitionWidget(apiEntity);
|
||||
const type = definition ? definition.title : apiEntity.spec.type;
|
||||
|
||||
return <Typography component="span">{type}</Typography>;
|
||||
return (
|
||||
<Typography component="span" variant="inherit">
|
||||
{type}
|
||||
</Typography>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user