-
Notifications
You must be signed in to change notification settings - Fork 194
/
Copy pathApp.js
36 lines (31 loc) · 1.27 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
* Sample React Native App
* /~https://github.com/facebook/react-native
* @flow
*/
import React from 'react';
import { createStackNavigator, createNavigationContainer } from 'react-navigation';
import { useScreens } from 'react-native-screens';
import HomeScreen from './Examples/HomeScreen';
import SharedElements from './Examples/SharedElements';
import AppearingElements from './Examples/AppearingElements';
import ImageTransition from './Examples/ImageTransition';
import LayoutTransition from './Examples/LayoutTransition';
import Onboarding from './Examples/Onboarding';
import ShoeShop from './Examples/ShoeShop';
import FlatList from './Examples/FlatList';
import AnimatedProperty from './Examples/AnimatedProperty';
import Playground from './Examples/Playground';
useScreens();
const ExampleNavigator = createStackNavigator({
home: { screen: HomeScreen, navigationOptions: { title: 'Fluid Transitions' } },
shared: { screen: SharedElements },
appear: { screen: AppearingElements },
image: { screen: ImageTransition },
layout: { screen: LayoutTransition },
onboarding: { screen: Onboarding },
shoes: { screen: ShoeShop },
flatlist: { screen: FlatList },
animatedProperty: { screen: AnimatedProperty },
});
export default createNavigationContainer(ExampleNavigator);