* feat: init export plugin * feat: add client export * fix: fix the word spell * feat: export plugin done * feat: init export plugin * feat: add client export * fix: fix the word spell * feat: export plugin done * ci: change plugin-export version * refactor: renders add ctx params * fix: fix select and multipleSelect export * fix: array convert string * refactor: move SchemaInitializerPluginProvider * fix: build error * fix: change umijs config * fix: update SchemaInitializerPluginProvider * fix: import server * fix: fix some bug * fix: fix some bug * refactor: export plugin refactor * refactor: create all export fields by default * fix: fix export plugin bug * fix(plugin-collection-manager): uiSchema toJSON * fix: update yarn.lock * fix: fix init fields bug * refactor: enum params pass by client * fix: fix export table header title * refactor: refactor dataIndex * fix: fix dataIndex maybe complex object * fix: add checkboxGroup in export plugin * fix: add checkbox and i18n * feat: improve code Co-authored-by: chenos <chenlinxh@gmail.com>
12 lines
488 B
TypeScript
12 lines
488 B
TypeScript
import { SchemaComponentOptions } from '@nocobase/client';
|
|
import React from 'react';
|
|
import { ExportActionInitializer, ExportDesigner, ExportInitializerProvider, useExportAction } from './';
|
|
|
|
export const ExportPluginProvider = (props: any) => {
|
|
return (
|
|
<SchemaComponentOptions components={{ ExportActionInitializer, ExportDesigner }} scope={{ useExportAction }}>
|
|
<ExportInitializerProvider>{props.children}</ExportInitializerProvider>
|
|
</SchemaComponentOptions>
|
|
);
|
|
};
|