diff --git a/Client/package-lock.json b/Client/package-lock.json index be9cd25f1..73edbf7fb 100644 --- a/Client/package-lock.json +++ b/Client/package-lock.json @@ -2647,6 +2647,7 @@ "integrity": "sha512-NglN/xprcM+SHD2XCli4oC6bWe6kHoytcyLKCWXmRL854F0qhPhaYgUswUsglnPxYaNQIg2uMY4BvaomIf3kLA==", "dev": true, "license": "ISC" + }, "node_modules/error-ex": { "version": "1.3.2", diff --git a/Client/src/Components/Integrations/index.jsx b/Client/src/Components/Integrations/index.jsx index b0e00bdfe..4709adef6 100644 --- a/Client/src/Components/Integrations/index.jsx +++ b/Client/src/Components/Integrations/index.jsx @@ -1,11 +1,17 @@ import { Box, Typography, useTheme } from '@mui/material'; import Button from '../Button'; +import PropTypes from 'prop-types'; /** * Integrations component - * @returns {JSX.Element} + * @param {Object} props - Props for the IntegrationsComponent. + * @param {string} props.url - The URL for the integration image. + * @param {string} props.header - The header for the integration. + * @param {string} props.info - Information about the integration. + * @param {Function} props.onClick - The onClick handler for the integration button. + * @returns {JSX.Element} The JSX representation of the IntegrationsComponent. */ -const Integrations = () => { +const IntegrationsComponent = ({ url, header, info, onClick }) => { const theme = useTheme(); return ( @@ -19,8 +25,8 @@ const Integrations = () => { > @@ -32,8 +38,8 @@ const Integrations = () => { flexDirection="column" alignItems="flex-start" > - - Header + + {header} { wordWrap: 'break-word', textAlign: 'left' }} + style={{ fontSize: '13px' }} > - This is a paragraph that provides more detail about the header. + {info} -