Update wording and heading size
Signed-off-by: Adam Harvey <adam.harvey@dxc.com>
This commit is contained in:
@@ -73,7 +73,7 @@ export const ConsumedApisCard = ({ variant = 'gridItem' }: Props) => {
|
||||
variant={variant}
|
||||
emptyContent={
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<Typography variant="h6">
|
||||
<Typography variant="body1">
|
||||
This {entity.kind.toLowerCase()} does not consume any APIs.
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
|
||||
@@ -77,7 +77,7 @@ export const HasApisCard = ({ variant = 'gridItem' }: Props) => {
|
||||
variant={variant}
|
||||
emptyContent={
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<Typography variant="h6">
|
||||
<Typography variant="body1">
|
||||
This {entity.kind.toLowerCase()} does not contain any APIs.
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
|
||||
@@ -74,7 +74,7 @@ describe('<ProvidedApisCard />', () => {
|
||||
);
|
||||
|
||||
expect(getByText(/Provided APIs/i)).toBeInTheDocument();
|
||||
expect(getByText(/does not provide its own APIs/i)).toBeInTheDocument();
|
||||
expect(getByText(/does not provide any APIs/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('shows consumed APIs', async () => {
|
||||
|
||||
@@ -73,8 +73,8 @@ export const ProvidedApisCard = ({ variant = 'gridItem' }: Props) => {
|
||||
variant={variant}
|
||||
emptyContent={
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<Typography variant="h6">
|
||||
This {entity.kind.toLowerCase()} does not provide its own APIs.
|
||||
<Typography variant="body1">
|
||||
This {entity.kind.toLowerCase()} does not provide any APIs.
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
<Link to="https://backstage.io/docs/features/software-catalog/descriptor-format#specprovidesapis-optional">
|
||||
|
||||
Reference in New Issue
Block a user