2016-05-14 18:08:00 +05:30
|
|
|
import React from 'react';
|
2016-01-16 17:36:22 +05:30
|
|
|
|
2016-05-14 16:56:17 +05:30
|
|
|
import { Button } from 'components/ui/form';
|
2016-05-14 18:08:00 +05:30
|
|
|
import RejectionLink from 'components/auth/RejectionLink';
|
2016-05-14 16:56:17 +05:30
|
|
|
import AuthTitle from 'components/auth/AuthTitle';
|
2016-01-16 17:36:22 +05:30
|
|
|
|
2016-05-14 16:56:17 +05:30
|
|
|
import messages from './Permissions.intl.json';
|
|
|
|
import Body from './PermissionsBody';
|
2016-02-13 20:58:47 +05:30
|
|
|
|
|
|
|
export default function Permissions() {
|
2016-05-14 18:08:00 +05:30
|
|
|
return {
|
2016-05-14 16:56:17 +05:30
|
|
|
Title: () => <AuthTitle title={messages.permissionsTitle} />,
|
2016-02-13 20:58:47 +05:30
|
|
|
Body,
|
2016-05-14 16:56:17 +05:30
|
|
|
Footer: () => <Button color="orange" autoFocus label={messages.approve} />,
|
2016-05-14 18:08:00 +05:30
|
|
|
Links: () => <RejectionLink label={messages.decline} />
|
2016-01-31 18:29:38 +05:30
|
|
|
};
|
|
|
|
}
|