File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
mui-component-mapper/src/files
react-form-renderer/src/files Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- export interface FormTemplateProps {
1
+ import { FormTemplateRenderProps } from "@data-driven-forms/react-form-renderer" ;
2
+
3
+ export interface FormTemplateProps extends FormTemplateRenderProps {
2
4
FormWrapper ?: React . ComponentType ;
3
5
Button ?: React . ComponentType ;
4
6
ButtonGroup ?: React . ComponentType ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import ComponentMapper from './component-mapper';
6
6
import ValidatorMapper from './validator-mapper' ;
7
7
import ActionMapper from './action-mapper' ;
8
8
import SchemaValidatorMapper from './schema-validator-mapper' ;
9
- import { FormTemplateRenderProps } from '../../dist/cjs ' ;
9
+ import { FormTemplateRenderProps } from './form-template-render-props ' ;
10
10
import { AnyObject } from './common' ;
11
11
12
12
export interface FormRendererProps extends FormProps {
Original file line number Diff line number Diff line change 1
- import { ComponentType , ElementType } from "react" ;
1
+ import { ElementType } from "react" ;
2
2
import Schema from "./schema" ;
3
+ import { AnyObject } from "./common" ;
3
4
4
- export interface FormTemplateRenderProps {
5
+ export interface FormTemplateRenderProps extends AnyObject {
5
6
formFields : ElementType [ ] ;
6
7
schema : Schema ;
7
8
}
You can’t perform that action at this time.
0 commit comments