accounts-frontend/packages/app/components/auth/login/Login.ts

17 lines
350 B
TypeScript
Raw Normal View History

2019-12-07 16:58:52 +05:30
import factory from '../factory';
2016-05-14 16:56:17 +05:30
import Body from './LoginBody';
import messages from './Login.intl.json';
2016-07-24 15:47:41 +05:30
export default factory({
title: messages.loginTitle,
body: Body,
footer: {
color: 'green',
label: messages.next,
},
links: {
isAvailable: context => !context.user.isGuest,
label: messages.createNewAccount,
},
2016-07-24 15:47:41 +05:30
});