UNPKG

@dbs-portal/module-identity

Version:

Identity management module for user and role management

19 lines 967 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; /** * Identity Administration Page */ import React from 'react'; import { Button, Space, Typography } from 'antd'; import { ArrowLeftOutlined } from '@ant-design/icons'; import { IdentityAdmin } from '../components/IdentityAdmin'; const { Title } = Typography; export const IdentityAdminPage = ({ onNavigate, onBack, className }) => { const handleBack = () => { if (onBack) onBack(); else if (onNavigate) onNavigate('/identity/users'); }; return (_jsxs("div", { className: className, children: [_jsx("div", { style: { marginBottom: 24 }, children: _jsxs(Space, { children: [_jsx(Button, { icon: _jsx(ArrowLeftOutlined, {}), onClick: handleBack, children: "Back to Identity" }), _jsx(Title, { level: 2, style: { margin: 0 }, children: "Identity Administration" })] }) }), _jsx(IdentityAdmin, {})] })); }; //# sourceMappingURL=IdentityAdminPage.js.map