feat: add missing propTypes

This commit is contained in:
kasia.oczkowska
2024-06-05 13:26:56 +01:00
parent 725b38c697
commit 3f5df118a0
53 changed files with 597 additions and 81 deletions

View File

@@ -1,3 +1,4 @@
import PropTypes from 'prop-types';
import * as React from 'react';
import { FormattedMessage } from 'react-intl';
import Typography from '@mui/material/Typography';
@@ -5,6 +6,7 @@ import { generateExternalLink } from '../../helpers/translationValues';
import { WEBHOOK_DOCS } from '../../config/urls';
import TextField from '../TextField';
import { Alert } from './style';
function WebhookUrlInfo(props) {
const { webhookUrl, ...alertProps } = props;
return (
@@ -33,4 +35,8 @@ function WebhookUrlInfo(props) {
</Alert>
);
}
WebhookUrlInfo.propTypes = {
webhookUrl: PropTypes.string.isRequired,
};
export default WebhookUrlInfo;