Last active
May 28, 2020 19:11
-
-
Save emanueleDiVizio/1cbaf9dfe48c731ee87cc2176c4f29f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const List = ({ data }) => { | |
return ( | |
<View> | |
<FlatList | |
data={data} | |
renderItem={renderFunction} | |
keyExtractor={item => item.id} | |
/> | |
</View> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment