title: React native:how to get Text value on a button click?
body: <p>I have a <code>Text</code>,  and I want to get text value on click.</p>
  
  <p>for example </p>
  
  <pre><code>click()
  {
      // how to get text value here 
  }
  
  &lt;Text style={{color: 'red,textAlign:'center'}} onPress={this.click.bind(this)}&gt;
      Name
  &lt;/Text&gt; 
  </code></pre>