how to pass value of name html balise to a onPress react native code example
Example: how to get the name of a html balise and pass it in onPress
<Button title="News" id={this.props.prop_where_id_is} onPress={() => this.setCategory(this.props.prop_where_id_is)} />