24 lines
581 B
TypeScript
Raw Normal View History

2020-07-24 19:29:10 +03:00
import React from 'react';
2020-07-24 19:19:11 +03:00
import { FormattedMessage as Message, defineMessages } from 'react-intl';
2019-12-07 13:28:52 +02:00
import factory from '../factory';
2016-11-05 22:23:56 +02:00
import Body from './ChooseAccountBody';
const messages = defineMessages({
chooseAccountTitle: 'Choose an account',
logoutAll: 'Log out from all accounts',
});
2016-11-05 22:23:56 +02:00
export default factory({
2020-05-24 02:08:24 +03:00
title: messages.chooseAccountTitle,
body: Body,
footer: {
2020-07-24 19:19:11 +03:00
children: <Message key="addAccount" defaultMessage="Log into another account" />,
},
2020-05-24 02:08:24 +03:00
links: [
{
label: messages.logoutAll,
},
],
2016-11-05 22:23:56 +02:00
});