File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/react-renderer-demo/src/app
examples/components/get-started Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,16 @@ const schema = {
4242 ]
4343} ;
4444
45+ const FormTemplateCanReset = ( props ) => < FormTemplate { ...props } canReset /> ;
46+
4547const GetStartedForm = ( ) => (
4648 < div className = "pf4" >
4749 < FormRender
4850 componentMapper = { componentMapper }
49- FormTemplate = { FormTemplate }
51+ FormTemplate = { FormTemplateCanReset }
5052 schema = { schema }
5153 onSubmit = { console . log }
5254 onCancel = { ( ) => console . log ( 'Cancel action' ) }
53- canReset
5455 />
5556 </ div >
5657) ;
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ Thank you for your understanding.
4040 - buttonClassName
4141 - renderFormButtons
4242 - buttonsLabels
43+ - canReset
4344- => All these props are now managed by mapper's form templates!
4445
4546- FormTemplate receives these props:
You can’t perform that action at this time.
0 commit comments