import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { Trans, withTranslation } from 'react-i18next'; import Topline from './Topline'; const UpdateTopline = (props) => ( Click here , ]} > update_announcement {props.canAutoUpdate && } ); UpdateTopline.propTypes = { version: PropTypes.string, url: PropTypes.string.isRequired, canAutoUpdate: PropTypes.bool, getUpdate: PropTypes.func, processingUpdate: PropTypes.bool, }; export default withTranslation()(UpdateTopline);