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

13 lines
407 B
TypeScript
Raw Normal View History

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