import React from 'react'; import {RetinaImg} from 'nylas-component-kit'; import OnboardingActions from './onboarding-actions'; import AccountTypes from './account-types'; import SelfHostingConfigPage from './page-self-hosting-config' export default class AccountChoosePage extends React.Component { static displayName = "AccountChoosePage"; static propTypes = { accountInfo: React.PropTypes.object, } _renderAccountTypes() { return AccountTypes.map((accountType) =>
OnboardingActions.setAccountType(accountType.type)} >
{accountType.displayName}
); } render() { if (NylasEnv.config.get('env', 'custom') || NylasEnv.config.get('env', 'local')) { return () } return (

Connect an email account

Nylas syncs your mail through the cloud. Learn More
{this._renderAccountTypes()}
); } }