How to use the simple-react-form.ObjectComponent 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
'div',
          { style: styles.label },
          this.getLabel()
        ),
        _react2.default.createElement(
          'div',
          { 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;