fix extending props in HOC.
This commit is contained in:
parent
5bfa7e53f1
commit
6f2a21e3ef
|
|
@ -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