How to use the simple-react-form.ArrayComponent 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 / array.js View on Github external
_react2.default.createElement(
          'div',
          { className: this.props.parentClassName },
          this.renderChildren()
        ),
        _react2.default.createElement(
          'div',
          { style: { marginTop: 10 } },
          this.renderAddButton()
        )
      );
    }
  }]);

  return MaterialArray;
}(_simpleReactForm.ArrayComponent);

exports.default = MaterialArray;


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

_simpleReactForm.Form.defaultProps.arrayComponent = MaterialArray;

//ArrayComponent = MaterialArray;