Issues/#1689 text input warning
Summary: This should close issue 1689. Using Object.assign to pass Flow checks. Closes https://github.com/facebook/react-native/pull/1956 Github Author: Matt Revell <mattrevell82@me.com>
This commit is contained in:
parent
ba433be886
commit
64c00dcd7a
|
@ -411,7 +411,7 @@ var TextInput = React.createClass({
|
|||
_renderIOS: function() {
|
||||
var textContainer;
|
||||
|
||||
var props = this.props;
|
||||
var props = Object.assign({},this.props);
|
||||
props.style = [styles.input, this.props.style];
|
||||
|
||||
if (!props.multiline) {
|
||||
|
|
Loading…
Reference in New Issue