fix extending props in HOC.

This commit is contained in:
Mayank Agarwal 2015-10-06 11:25:59 +05:30
parent 5bfa7e53f1
commit 6f2a21e3ef
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ module.exports = function (Component) {
isRequired: this.isRequired,
showRequired: this.showRequired,
showError: this.showError,
isValidValue: this.isValidValue
isValidValue: this.isValidValue,
...this.props
});
}
});