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

Learn more about how Nylas syncs your mail in the cloud.
{this._renderAccountTypes()}
); } }