Merge pull request #229 from Mayank1791989/fix_missing_props_in_hoc

fix extending props in HOC.
This commit is contained in:
Christian Alfoni 2015-10-08 09:28:41 +02:00
commit 9fb4b93fec
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
});
}
});