diff --git a/src/main.js b/src/main.js index 7edb786d..c2eaa43d 100644 --- a/src/main.js +++ b/src/main.js @@ -424,9 +424,23 @@ Formsy.Form = React.createClass({ this.validateForm(); }, render: function () { + var { + mapping, + validationErrors, + onSubmit, + onValid, + onInvalid, + onInvalidSubmit, + onChange, + reset, + preventExternalInvalidation, + onSuccess, + onError, + ...nonFormsyProps + } = this.props; return ( -
+ {this.props.children}
);