import React, {Component, PropTypes} from 'react'; 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 Nylas Mail…

) } } export default AccountOnboardingSuccess