mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user