23 lines
494 B
TypeScript
Raw Normal View History

import { defineMessages } from 'react-intl';
2019-12-07 13:28:52 +02:00
import factory from '../factory';
2016-05-14 14:26:17 +03:00
import Body from './PermissionsBody';
const messages = defineMessages({
permissionsTitle: 'Application permissions',
decline: 'Decline',
approve: 'Approve',
});
2016-07-24 13:17:41 +03:00
export default factory({
2020-05-24 02:08:24 +03:00
title: messages.permissionsTitle,
body: Body,
footer: {
color: 'orange',
autoFocus: true,
label: messages.approve,
},
links: {
label: messages.decline,
},
2016-07-24 13:17:41 +03:00
});