import { translate } from 'i18n-calypso'; import useHostingProviderURL from 'calypso/site-profiler/hooks/use-hosting-provider-url'; import HostingProviderName from './hosting-provider-name'; import type { UrlData } from 'calypso/blocks/import/types'; import type { DNS, HostingProvider } from 'calypso/data/site-profiler/types'; import './style.scss'; interface Props { dns: DNS[]; urlData?: UrlData; hostingProvider?: HostingProvider; hideTitle?: boolean; } export default function HostingInformation( props: Props ) { const { dns = [], urlData, hostingProvider, hideTitle = false } = props; const aRecordIps = dns.filter( ( x ) => x.type === 'A' && x.ip ); const supportUrl = useHostingProviderURL( 'support', hostingProvider, urlData ); return (