feat(TestSubstep): put some space between info and test output

This commit is contained in:
Ali BARIN
2022-12-08 22:19:00 +01:00
parent ba1e1ef20c
commit 6382325280
2 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
import * as React from 'react';
import { FormattedMessage } from 'react-intl';
import Typography from '@mui/material/Typography';
import type { AlertProps } from '@mui/material/Alert';
import { generateExternalLink } from '../../helpers/translation-values';
import { WEBHOOK_DOCS } from '../../config/urls';
@@ -9,13 +10,13 @@ import { Alert } from './style';
type WebhookUrlInfoProps = {
webhookUrl: string;
};
} & AlertProps;
function WebhookUrlInfo(props: WebhookUrlInfoProps): React.ReactElement {
const { webhookUrl } = props;
const { webhookUrl, ...alertProps } = props;
return (
<Alert icon={false} color="info">
<Alert icon={false} color="info" {...alertProps}>
<Typography variant="body2" textAlign="center">
<FormattedMessage id="webhookUrlInfo.title" />
</Typography>