File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/react-form-renderer/src/form-renderer Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
- import { ComponentType , FunctionComponent } from 'react' ;
1
+ import { ComponentType , FunctionComponent , ReactNode } from 'react' ;
2
2
import { FormProps } from 'react-final-form' ;
3
3
import Schema from '../common-types/schema' ;
4
4
import ComponentMapper from '../common-types/component-mapper' ;
@@ -12,6 +12,7 @@ export interface FormRendererProps extends FormProps {
12
12
initialValues ?: object ;
13
13
onCancel ?: ( values : AnyObject , ...args : any [ ] ) => void ;
14
14
onReset ?: ( ) => void ;
15
+ onError ?: ( ...args : any [ ] ) => void ;
15
16
schema : Schema ;
16
17
clearOnUnmount ?: boolean ;
17
18
clearedValue ?: any ;
@@ -20,6 +21,8 @@ export interface FormRendererProps extends FormProps {
20
21
validatorMapper ?: ValidatorMapper ;
21
22
actionMapper ?: ActionMapper ;
22
23
schemaValidatorMapper ?: SchemaValidatorMapper ;
24
+ FormTemplateProps ?: AnyObject ;
25
+ children ?: ReactNode | ( ( props : FormTemplateRenderProps ) => ReactNode )
23
26
}
24
27
25
28
declare const FormRenderer : React . ComponentType < FormRendererProps > ;
You can’t perform that action at this time.
0 commit comments