You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import React from 'react'
|
|
|
|
import PropTypes from 'prop-types'
|
|
|
|
import { FormattedMessage } from 'react-intl'
|
|
|
|
import messages from './messages'
|
|
|
|
import styles from './ConnectionConfirm.scss'
|
|
|
|
|
|
|
|
const ConnectionConfirm = ({ connectionHost }) => (
|
|
|
|
<div className={styles.container}>
|
|
|
|
<p>
|
|
|
|
<FormattedMessage {...messages.verify_host_title} />{' '}
|
|
|
|
<span className={styles.host}>{connectionHost.split(':')[0]}</span>?{' '}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<strong>
|
|
|
|
<FormattedMessage {...messages.verify_host_description} />
|
|
|
|
</strong>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
|
|
|
|
ConnectionConfirm.propTypes = {
|
|
|
|
connectionHost: PropTypes.string.isRequired
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ConnectionConfirm
|