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:
Matt Revell 2015-07-15 06:14:26 -07:00
parent ba433be886
commit 64c00dcd7a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {