accounts-frontend/packages/app/components/auth/chooseAccount/ChooseAccount.tsx

24 lines
581 B
TypeScript
Raw Permalink Normal View History

2020-07-24 21:59:10 +05:30
import React from 'react';
2020-07-24 21:49:11 +05:30
import { FormattedMessage as Message, defineMessages } from 'react-intl';
2019-12-07 16:58:52 +05:30
import factory from '../factory';
2016-11-06 01:53:56 +05:30
import Body from './ChooseAccountBody';
const messages = defineMessages({
chooseAccountTitle: 'Choose an account',
logoutAll: 'Log out from all accounts',
});
2016-11-06 01:53:56 +05:30
export default factory({
2020-05-24 04:38:24 +05:30
title: messages.chooseAccountTitle,
body: Body,
footer: {
2020-07-24 21:49:11 +05:30
children: <Message key="addAccount" defaultMessage="Log into another account" />,
},
2020-05-24 04:38:24 +05:30
links: [
{
label: messages.logoutAll,
},
],
2016-11-06 01:53:56 +05:30
});