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-08-03 00:29:29 +05:30
|
|
|
import Body from './AcceptRulesBody';
|
2020-06-04 22:11:27 +05:30
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
title: 'User Agreement',
|
|
|
|
accept: 'Accept',
|
|
|
|
declineAndLogout: 'Decline and logout',
|
|
|
|
});
|
2016-08-03 00:29:29 +05:30
|
|
|
|
|
|
|
export default factory({
|
2020-05-24 04:38:24 +05:30
|
|
|
title: messages.title,
|
|
|
|
body: Body,
|
|
|
|
footer: {
|
|
|
|
color: 'darkBlue',
|
|
|
|
autoFocus: true,
|
|
|
|
label: messages.accept,
|
|
|
|
},
|
|
|
|
links: {
|
|
|
|
label: messages.declineAndLogout,
|
|
|
|
},
|
2016-08-03 00:29:29 +05:30
|
|
|
});
|