accounts-frontend/packages/app/components/auth/chooseAccount/ChooseAccount.tsx
2020-07-24 19:29:10 +03:00

24 lines
581 B
TypeScript

import React from 'react';
import { FormattedMessage as Message, defineMessages } from 'react-intl';
import factory from '../factory';
import Body from './ChooseAccountBody';
const messages = defineMessages({
chooseAccountTitle: 'Choose an account',
logoutAll: 'Log out from all accounts',
});
export default factory({
title: messages.chooseAccountTitle,
body: Body,
footer: {
children: <Message key="addAccount" defaultMessage="Log into another account" />,
},
links: [
{
label: messages.logoutAll,
},
],
});