Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <TouchableOpacity
  2.           style={styles.submitButton}
  3.           onPress={
  4.             () => {
  5.               this.getCurrency(this.state.currency)
  6.               {
  7.                 <FlatList
  8.                   data={this.state.data.rates}
  9.                   renderItem={({ item }) => <Text>{item.bid}, {item.ask}</Text>}
  10.                   keyExtractor={({ no }, index) => no}
  11.                 />
  12.               }
  13.             }
  14.           }>
  15.           <Text style={styles.submitButtonText}> Submit </Text>
  16. </TouchableOpacity>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement