23 lines
491 B
TypeScript
Raw Normal View History

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';
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
});