mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-03 20:19:07 +05:30
23 lines
494 B
TypeScript
23 lines
494 B
TypeScript
import { defineMessages } from 'react-intl';
|
|
import factory from '../factory';
|
|
import Body from './PermissionsBody';
|
|
|
|
const messages = defineMessages({
|
|
permissionsTitle: 'Application permissions',
|
|
decline: 'Decline',
|
|
approve: 'Approve',
|
|
});
|
|
|
|
export default factory({
|
|
title: messages.permissionsTitle,
|
|
body: Body,
|
|
footer: {
|
|
color: 'orange',
|
|
autoFocus: true,
|
|
label: messages.approve,
|
|
},
|
|
links: {
|
|
label: messages.decline,
|
|
},
|
|
});
|