feat: introduce propTypes

This commit is contained in:
kasia.oczkowska
2024-02-29 09:53:07 +00:00
committed by Ali BARIN
parent bfc7d5d0dd
commit 7afdf43872
57 changed files with 1119 additions and 735 deletions

View File

@@ -14,7 +14,9 @@ import ConnectionContextMenu from 'components/AppConnectionContextMenu';
import { DELETE_CONNECTION } from 'graphql/mutations/delete-connection';
import { TEST_CONNECTION } from 'graphql/queries/test-connection';
import useFormatMessage from 'hooks/useFormatMessage';
import { ConnectionPropType } from 'propTypes/propTypes';
import { CardContent, Typography } from './style';
const countTranslation = (value) => (
<>
<Typography variant="body1">{value}</Typography>
@@ -166,4 +168,9 @@ function AppConnectionRow(props) {
</>
);
}
AppConnectionRow.propTypes = {
connection: ConnectionPropType.isRequired,
};
export default AppConnectionRow;