accounts-frontend/src/components/auth/permissions/Permissions.jsx

18 lines
579 B
React
Raw Normal View History

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