import React from 'react'; import cn from 'classnames'; import { Icon, Tooltip } from 'UI'; import stl from './integrationItem.module.css'; interface Props { integration: any; onClick?: (e: React.MouseEvent) => void; integrated?: boolean; hide?: boolean; } const IntegrationItem = (props: Props) => { const { integration, integrated, hide = false } = props; return hide ? <> : (
props.onClick(e)}> {integrated && (
)} {integration.icon.length ? integration : ( {integration.header} )}

{integration.title}

{/*

{integration.subtitle && integration.subtitle}

*/}
); }; export default IntegrationItem;