import React from 'react'; import PropTypes from 'prop-types'; import { RetinaImg } from 'mailspring-component-kit'; import OnboardingActions from './onboarding-actions'; import AccountProviders from './account-providers'; export default class AccountChoosePage extends React.Component { static displayName = 'AccountChoosePage'; static propTypes = { account: PropTypes.object, }; _renderProviders() { return AccountProviders.map(({ icon, displayName, provider }) => (
OnboardingActions.chooseAccountProvider(provider)} >
{displayName}
)); } render() { return (

Connect an email account

{this._renderProviders()}
); } }