Merge pull request #229 from Mayank1791989/fix_missing_props_in_hoc
fix extending props in HOC.
This commit is contained in:
commit
9fb4b93fec
|
|
@ -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
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue