import React from 'react'; import cn from 'classnames'; import { Icon } from 'UI'; import stl from './integrationItem.module.css'; import { Tooltip } from 'antd'; 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)} style={{ height: '136px' }} >
{/*{integration.icon.length ?*/} {/* integration :*/} {/* ({integration.header})}*/}
integration

{integration.title}

{integration.subtitle && integration.subtitle}

{integrated && (
Installed
)}
); }; export default IntegrationItem;