-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.js
38 lines (29 loc) · 1.3 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { GenerateGenerator, LfField, LfGroup, LfColumns, LfColumn, LfArray, LfTabs, LfTab, LfSteps, LfStep } from './generator';
import { Fields as FieldsReactRsuite5, Forms as FormsReactRsuite5 } from './react-rsuite5/index';
import { Fields as FieldsReactMaterialUI, Forms as FormsReactMaterialUI } from './react-material-ui/index';
import { Fields as FieldsReact, Forms as FormsReact } from './react/index';
import { Fields as FieldsReactBootstrap, Forms as FormsReactBootstrap } from './react-bootstrap/index';
import { Fields as FieldsReactAntD, Forms as FormsReactAndD } from './react-antd/index';
import { Fields as FieldsReactMantine, Forms as FormsReactMantine } from './react-mantine/index';
import { mergeFields } from './helpers/merge-fields';
const Fields = mergeFields(
FieldsReactRsuite5,
FieldsReactMaterialUI,
FieldsReact,
FieldsReactBootstrap,
FieldsReactAntD,
FieldsReactMantine
);
const Forms = {
...FormsReactRsuite5,
...FormsReactMaterialUI,
...FormsReact,
...FormsReactBootstrap,
...FormsReactAndD,
...FormsReactMantine
};
const FormGenerator = GenerateGenerator({ Fields, Forms });
export default FormGenerator ;
export * from './helpers';
export * from './costants';
export { Fields, Forms, LfField, LfGroup, LfColumns, LfColumn, LfArray, LfTabs, LfTab, LfSteps, LfStep };