import React from 'react'; import {RetinaImg} from 'nylas-component-kit'; import OnboardingActions from './onboarding-actions'; import AccountTypes from './account-types'; export default class AccountChoosePage extends React.Component { static displayName = "AccountChoosePage"; static propTypes = { accountInfo: React.PropTypes.object, } _renderAccountTypes() { return AccountTypes.filter(accountType => !accountType.hidden).map((accountType) =>
OnboardingActions.setAccountType(accountType.type)} >
{accountType.displayName}
); } render() { return (

Connect an email account

{this._renderAccountTypes()}
); } }