accounts-frontend/src/components/auth/permissions/Permissions.jsx
2016-05-19 22:50:15 +03:00

18 lines
579 B
JavaScript

import React from 'react';
import { Button } from 'components/ui/form';
import RejectionLink from 'components/auth/RejectionLink';
import AuthTitle from 'components/auth/AuthTitle';
import messages from './Permissions.intl.json';
import Body from './PermissionsBody';
export default function Permissions() {
return {
Title: () => <AuthTitle title={messages.permissionsTitle} />,
Body,
Footer: () => <Button color="orange" autoFocus label={messages.approve} type="submit" />,
Links: () => <RejectionLink label={messages.decline} />
};
}