title: React Native Event
body: <p>I have a TextInput component that calls an 'OnChangeText' event :</p>
  
  <pre><code>&lt;TextInput onChangeText={(text) =&gt; this.setState({zip:text})}/&gt;
  </code></pre>
  
  <p>That works fine.</p>
  
  <p>Now I want to change the call event to a function:</p>
  
  <pre><code> &lt;TextInput onChangeText={_handleTextChange}/&gt;
  
  _handleTextChange(event) {
         this.setState({zip: 
         event.nativeEvent.text});
  
    }
  </code></pre>
  
  <p>That doesn't work. I get the following error : </p>
  
  <blockquote>
    <p>undefined is not an object (evaluating 'event.nativeEvent.text'</p>
  </blockquote>
  
  <p>How do send the 'Event' object to _handleTextChange function?</p>
  
  <p>Thanks,
  Yaron</p>