accounts-frontend/packages/app/components/auth/permissions/Permissions.tsx
2020-07-24 19:19:19 +03:00

24 lines
564 B
TypeScript

import React from 'react';
import { FormattedMessage as Message, defineMessages } from 'react-intl';
import factory from '../factory';
import Body from './PermissionsBody';
const messages = defineMessages({
permissionsTitle: 'Application permissions',
decline: 'Decline',
});
export default factory({
title: messages.permissionsTitle,
body: Body,
footer: {
color: 'orange',
autoFocus: true,
children: <Message key="approve" defaultMessage="Approve" />,
},
links: {
label: messages.decline,
},
});