How to control defaultValue of React Native's <TextInput>?
<p>I have a <code>&lt;TextInput/&gt;</code> with a <code>defaultValue</code> set up and a button where it would trigger and pass the <code>defaultValue</code> of <code>&lt;TextInput&gt;</code> elsewhere.</p>

<p>But how do I pass in the <code>&lt;TextInput/&gt;</code>'s <code>defaultValue</code> to the <code>onPress</code> method of <code>&lt;TouchableHighlight/&gt;</code>? </p>

<p>This is what I am trying to achieve:</p>

<pre><code>changeName(text) {
    this.setState({nameNow: text}) //How can I immediately set the defaultValue='PassMeIn' to nameNow? Because this method would never be called unless text is changed within TextInput
}

sendOff() {
    //Would like to access the defaultValue='PassMeIn' here whenever sendOff() is called. How can I?
}

render() {

    return (
      &lt;View&gt;
            &lt;TextInput 
                defaultValue='PassMeIn' 
                onChange={this.changeName} 
                value={this.state.nameNow}
            /&gt;
            &lt;TouchableHighlight onPress={this.sendOff}/&gt;
                &lt;Text&gt;Button&lt;/Text&gt;
            &lt;/TouchableHighlight&gt;
      &lt;/View&gt;
    )
}
</code></pre>