import React from 'react';
import Screen from '../../core/screen';
import EmailPane from './email_pane';

const Component = ({model, t}) => (
  <EmailPane
    lock={model}
    placeholder={t("emailInputPlaceholder", {__textOnly: true})}
  />
);

export default class AskEmail extends Screen {

  constructor() {
    super("email");
  }

  render() {
    return Component;
  }

}

import React from 'react';
import Screen from '../../core/screen';
import EmailPane from './email_pane';

const Component = ({i18n, model}) => (
  <EmailPane
    lock={model}
    placeholder={i18n.str("emailInputPlaceholder")}
  />
);

export default class AskEmail extends Screen {

  constructor() {
    super("email");
  }

  render() {
    return Component;
  }

}

Use i18n prop instead of t in AskEmail screen
Use i18n prop instead of t in AskEmail screen
