How to use the simple-react-form.Form function in simple-react-form

To help you get started, we’ve selected a few simple-react-form examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nicolaslopezj / simple-react-form / material-ui / lib / fields / object.js View on Github external
{ style: { color: 'red' } },
          this.props.errorMessage
        ),
        this.renderChildren()
      );
    }
  }]);

  return MaterialObject;
}(_simpleReactForm.ObjectComponent);

//MRF.Object = MaterialObject;


exports.default = MaterialObject;
_simpleReactForm.Form.defaultProps.objectComponent = MaterialObject;

//ObjectComponent = MaterialObject;
github nicolaslopezj / simple-react-form / material-ui / lib / fields / array.js View on Github external
this.renderAddButton()
        )
      );
    }
  }]);

  return MaterialArray;
}(_simpleReactForm.ArrayComponent);

exports.default = MaterialArray;


MaterialArray.propTypes = propTypes;
MaterialArray.defaultProps = defaultProps;

_simpleReactForm.Form.defaultProps.arrayComponent = MaterialArray;

//ArrayComponent = MaterialArray;