import PropTypes from "prop-types"; import { Stack, Typography, Grid } from "@mui/material"; import Button from "../../Components/Button"; import { useTheme } from "@emotion/react"; import Discord from "../../assets/icons/discord-icon.svg?react"; import Slack from "../../assets/icons/slack-icon.svg?react"; import Zapier from "../../assets/icons/zapier-icon.svg?react"; import "./index.css"; /** * Integrations component * @param {Object} props - Props for the IntegrationsComponent. * @param {string} props.icon - The icon 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 IntegrationsComponent = ({ icon, header, info, onClick }) => { const theme = useTheme(); return ( {icon} {header} {info}