title: Prebinding onpress event in typescript
body: <p>I have a question how I can pre-bind onpress event and pass attribute with it?</p>
  
  <p>Example:</p>
  
  <pre><code>const blockReasonToggles = _.map(ReportReasonCodes, reason =&gt; {
  return (
      &lt;RX.Button
          style={ _styles.checkboxView }
          onPress={ () =&gt; this._onReasonPressed(reason) }
      &lt;/RX.Button&gt;
    );
  });
  </code></pre>
  
  <p>One way is to create new component and pass prop to it, but in this way there is problem with sharing state between components.</p>