mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-12 16:29:01 +05:30
18 lines
579 B
JavaScript
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} />
|
|
};
|
|
}
|