2020-06-04 22:11:27 +05:30
|
|
|
import { 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';
|
|
|
|
|
2020-06-04 22:11:27 +05:30
|
|
|
const messages = defineMessages({
|
|
|
|
chooseAccountTitle: 'Choose an account',
|
|
|
|
addAccount: 'Log into another 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: {
|
|
|
|
label: messages.addAccount,
|
2016-11-19 17:49:23 +05:30
|
|
|
},
|
2020-05-24 04:38:24 +05:30
|
|
|
links: [
|
|
|
|
{
|
|
|
|
label: messages.logoutAll,
|
|
|
|
},
|
|
|
|
],
|
2016-11-06 01:53:56 +05:30
|
|
|
});
|