import React from 'react'; import { FormattedMessage as Message } from 'react-intl'; import Helmet from 'react-helmet'; import { Link } from 'react-router'; import buttons from 'components/ui/buttons.scss'; import { Input } from 'components/ui/form'; import BaseAuthBody from 'components/auth/BaseAuthBody'; import passwordMessages from 'components/auth/password/Password.intl.json'; import messages from './Login.messages'; class Body extends BaseAuthBody { static displayName = 'LoginBody'; static panelId = 'login'; autoFocusField = 'login'; render() { return (
{this.renderErrors()}
); } } export default function Login() { return { Title: () => ( // TODO: separate component for PageTitle {(msg) => {msg}} ), Body, Footer: () => ( ), Links: () => ( ) }; }