title: How to apply click event on TextInput in react native
body: <p>Hi I am using <code>TextInput</code> in my react native application. I want to open Date Dialog on clicking on <code>TextInput</code>. I didn't find any work around to apply click event on <code>TextInput</code>. Does anyone know how to do this in react native ?</p>
  
  <pre><code>&lt;TextInput
    style={{
      height: 40,
      borderColor: "gray",
      borderWidth: 1,
      marginTop: 8
    }}
    underlineColorAndroid="transparent"
    placeholder={strings.schedule_date}
    onKeyPress={keyPress =&gt; console.log(keyPress)}
  /&gt;
  </code></pre>