Skip to content

Instantly share code, notes, and snippets.

@catalinmiron
Created January 28, 2021 11:04
Show Gist options
  • Save catalinmiron/5a9de714e555d0e21040cd344c627745 to your computer and use it in GitHub Desktop.
Save catalinmiron/5a9de714e555d0e21040cd344c627745 to your computer and use it in GitHub Desktop.
Starter code - Double sided animated gallery view
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>
);
};
@sijilet
Copy link

sijilet commented Dec 2, 2022

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment