title: React-Native How to handle onPress from Item in flatlist ???
body: <p>My FlatList is stateless component, and when item pressed I want to handle onPress by call method "handleOnPress". How can I do it ?? 
  the below is sample codes.<br>
  `</p>
  
  <pre><code>handleOnPress = () =&gt; {
    .....
  }
  &lt;SampleListView
      data={prop.data}
      onPress={this.handleOnPress}
  /&gt;
  const SampleListView = (props: Props) =&gt; {
    return (
      &lt;FlatList
          style={styles.container}
          data={props.data}
          keyExtractor={item =&gt; item.id.toString()}
          renderItem={renderItem}
      /&gt;
      )
  }
  renderItem = ({ item }: { item: DataSample }) =&gt; {
    return (
    &lt;TouchableWithoutFeedback onPress={ () =&gt; props.onPress}&gt;
        ....
    &lt;/TouchableWithoutFeedback&gt;
    )
  }
  </code></pre>
  
  <p>`</p>