import { Card } from 'components/Form/Card'; import Row from 'components/Form/Row'; const cardStyles = ` small { margin-top: 1rem; opacity: 0.5; } `; const OpenPortsCard = (props: { data: any, title: string, actionButtons: any }): JSX.Element => { const portData = props.data; return ( {portData.openPorts.map((port: any) => ( {port} ) )}
Unable to establish connections to:
{portData.failedPorts.join(', ')}
); } export default OpenPortsCard;