tachybase_todo/packages/plugins/@nocobase/plugin-audit-logs/src/client/AuditLogsProvider.tsx

28 lines
1014 B
TypeScript
Raw Normal View History

import { SchemaComponentOptions } from '@nocobase/client';
import React from 'react';
import { AuditLogsBlockInitializer } from './AuditLogsBlockInitializer';
import { AuditLogsBlockProvider } from './AuditLogsBlockProvider';
import { AuditLogsField } from './components/AuditLogsField';
import { AuditLogsValue } from './components/AuditLogsValue';
import { AuditLogsViewActionInitializer } from './components/AuditLogsViewActionInitializer';
import { AuditLogs } from './deplicated/AuditLogs';
import { AuditLogsTableActionColumnInitializer } from './initializers/AuditLogsTableActionColumnInitializer';
export const AuditLogsProvider = (props: any) => {
return (
<SchemaComponentOptions
components={{
AuditLogs,
AuditLogsBlockProvider,
AuditLogsBlockInitializer,
AuditLogsValue,
AuditLogsField,
AuditLogsViewActionInitializer,
AuditLogsTableActionColumnInitializer,
}}
>
{props.children}
</SchemaComponentOptions>
);
};