title: How to make second line in text Input while entering text in react native?
body: <p>i want second line if i entered more then 10 char in textInput. I have done changing text's font size if more then 5 char entered. that is works fine. </p>
  
  <p>But if i enter more then 11 char it should comes down in second line </p>
  
  <p>please help me to clear this</p>
  
  <p>here is my code ...</p>
  
  <pre><code>_onChangeText(text) {
       this.setState({ fontSize: (text.lenght &gt; 6 ? 40 : 80) });
   }
  
   render() {
  return (
    // Giving an array of objects to style property can help                                                    
   you to define a default value
        &lt;TextInput 
            onChangeText={this._onChangeText.bind(this)}
            style={[ {fontSize: 80}, {fontSize: this.state.fontSize} ]}
       /&gt;
     )
  }
  </code></pre>