-
-
Save catalinmiron/5a9de714e555d0e21040cd344c627745 to your computer and use it in GitHub Desktop.
Starter code - Double sided animated gallery view
This file contains 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
import * as React from 'react'; | |
import { | |
StatusBar, | |
FlatList, | |
Image, | |
Animated, | |
Text, | |
View, | |
Dimensions, | |
StyleSheet, | |
TouchableOpacity, | |
Easing, | |
SafeAreaViewBase, | |
SafeAreaView, | |
} from 'react-native'; | |
const { width, height } = Dimensions.get('screen'); | |
const API_KEY = "YOUR_PEXELS.COM_API_KEY" | |
const API_URL = "https://api.pexels.com/v1/search?query=nature&orientation=portrait&size=small&per_page=20" | |
export default () => { | |
return ( | |
<View style={{ flex: 1, backgroundColor: '#fff' }}> | |
<StatusBar hidden /> | |
</View> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice