import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { Trans, withTranslation } from 'react-i18next'; import Tabs from './Tabs'; import Icons from './Icons'; const Guide = (props) => { const { dnsAddresses } = props; const tlsAddress = (dnsAddresses && dnsAddresses.filter((item) => item.includes('tls://'))) || ''; const httpsAddress = (dnsAddresses && dnsAddresses.filter((item) => item.includes('https://'))) || ''; const showDnsPrivacyNotice = httpsAddress.length < 1 && tlsAddress.length < 1; return (
text
,
]}
>
setup_dns_privacy_1
text
,
]}
>
setup_dns_privacy_2
text
,
]}
>
setup_dns_notice
text
,
]}
>
setup_dns_privacy_android_2
text
,
]}
>
setup_dns_privacy_android_3
text
,
link
,
]}
>
setup_dns_privacy_ios_1
text
,
]}
>
setup_dns_privacy_ios_2
text
,
]}
>
setup_dns_privacy_other_3
text
,
]}
>
setup_dns_privacy_other_4