import React, {Component} from 'react'; import PropTypes from 'prop-types' import {RetinaImg} from 'nylas-component-kit'; import AccountTypes from './account-types' class AccountOnboardingSuccess extends Component { // eslint-disable-line static displayName = 'AccountOnboardingSuccess' static propTypes = { accountInfo: PropTypes.object, } render() { const {accountInfo} = this.props const accountType = AccountTypes.find(a => a.type === accountInfo.type); return (

Successfully connected to {accountType.displayName}!

Adding your account to Mailspring…

) } } export default AccountOnboardingSuccess