import type { ServerInfo } from 'web-check-live/utils/result-processor'; import { Card } from 'web-check-live/components/Form/Card'; import Row from 'web-check-live/components/Form/Row'; const ServerInfoCard = (props: { data: ServerInfo, title: string, actionButtons: any }): JSX.Element => { const info = props.data; const { org, asn, isp, os, ports, ip, loc, type } = info; return ( { org && } { (isp && isp !== org) && } { os && } { asn && } { ports && } { ip && } { type && } { loc && } ); } export default ServerInfoCard;