2020-06-04 19:41:27 +03:00
|
|
|
import { defineMessages } from 'react-intl';
|
2019-12-07 13:28:52 +02:00
|
|
|
import factory from '../factory';
|
2016-08-02 21:59:29 +03:00
|
|
|
import Body from './AcceptRulesBody';
|
2020-06-04 19:41:27 +03:00
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
title: 'User Agreement',
|
|
|
|
accept: 'Accept',
|
|
|
|
declineAndLogout: 'Decline and logout',
|
|
|
|
});
|
2016-08-02 21:59:29 +03:00
|
|
|
|
|
|
|
export default factory({
|
2020-05-24 02:08:24 +03:00
|
|
|
title: messages.title,
|
|
|
|
body: Body,
|
|
|
|
footer: {
|
|
|
|
color: 'darkBlue',
|
|
|
|
autoFocus: true,
|
|
|
|
label: messages.accept,
|
|
|
|
},
|
|
|
|
links: {
|
|
|
|
label: messages.declineAndLogout,
|
|
|
|
},
|
2016-08-02 21:59:29 +03:00
|
|
|
});
|