import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { withTranslation, Trans } from 'react-i18next'; import format from 'date-fns/format'; import { EMPTY_DATE } from '../../../helpers/constants'; const CertificateStatus = ({ validChain, validCert, subject, issuer, notAfter, dnsNames, }) => (
encryption_status:
); CertificateStatus.propTypes = { validChain: PropTypes.bool.isRequired, validCert: PropTypes.bool.isRequired, subject: PropTypes.string, issuer: PropTypes.string, notAfter: PropTypes.string, dnsNames: PropTypes.string, }; export default withTranslation()(CertificateStatus);