daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. render() {
  2.         return (
  3.             <View>
  4.                 <FlatList
  5.                     numColumns={2}
  6.                     style={ styles.cardContainer }
  7.                     keyExtractor={ this._keyExtractor }
  8.                     data={ this.state.itemList }
  9.                     renderItem={ this._renderItem }
  10.                     >
  11.                 </FlatList>
  12.             </View>
  13.         );
  14.     }
  15.    
  16. cardContainer: {
  17.     flex: 1,
  18.     flexDirection: 'column'
  19. },
  20.  
  21. card: {
  22.     flex: 1,
  23.     margin: 10,
  24.     flexBasis: '50%'
  25. },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top