title: Adding an onPress Method/Touchable Highlight
body: <p>I am working with a custom component and struggling to add onPress functionality to it. I would love to just add an onPress tag to the component and bind a function to that.. but can't seem to find anywhere how to do so.</p>
  
  <p>I have also tried just using TouchableHighlight, however.. when I do that the whole element disapears. I think it still renders as it it still logs the the custom component has been created.  But I can't figure out how I can change the styling to make it so the custom component still appears in the view...</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    &lt;TouchableHighlight&gt;
  &lt;CustomEle
      thumbnailSource={{ uri: 'http://i.imgur.com/W3LKLla.png?bust' + Math.random() }}
      imageSource={{ uri: 'http://i.imgur.com/741u15U.png?bust' + Math.random() }}
      style={{ flex: 1, alignItems: 'stretch' }}
    /&gt;
  &lt;/TouchableHighlight&gt;
  </code></pre>
  
  <p>Any help or advice would be a lifesafer! Thanks!</p>
  
  <p>Render MEthod:</p>
  
  <pre><code>render() {
      return (
        &lt;TouchableOpacity onPress={this.callThisFunction.bind(this)}&gt;
  
        &lt;View onPress={this.onBoom()} style={this.props.style}&gt;
          &lt;Image
            resizeMode="cover"
            style={[styles.image, this.props.style]}
            source={this.props.placeHolderSource}
          /&gt;
          &lt;Animated.Image
            resizeMode="cover"
            style={[styles.image, { opacity: this.state.thumbnailOpacity }, this.props.style]}
            source={this.props.thumbnailSource}
            onLoad={() =&gt; this.onLoadThumbnail()}
            blurRadius={this.props.thumbnailBlurRadius}
          /&gt;
          &lt;Animated.Image
            resizeMode="cover"
            style={[styles.image, { opacity: this.state.imageOpacity }, this.props.style]}
            source={this.props.imageSource}
            onLoad={() =&gt; this.onLoadImage()}
          /&gt;
          &lt;/View&gt;
                  &lt;/TouchableOpacity&gt;
  
      )
  </code></pre>