UNPKG

@dbs-portal/module-identity

Version:

Identity management module for user and role management

19 lines 953 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; /** * Identity Audit Page */ import React from 'react'; import { Button, Space, Typography } from 'antd'; import { ArrowLeftOutlined } from '@ant-design/icons'; import { IdentityAudit } from '../components/IdentityAudit'; const { Title } = Typography; export const IdentityAuditPage = ({ 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 Audit Log" })] }) }), _jsx(IdentityAudit, {})] })); }; //# sourceMappingURL=IdentityAuditPage.js.map