-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
32 lines (29 loc) · 1.06 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
import React from 'react';
import { createStackNavigator } from 'react-navigation';
import HomeScreen from './src/HomeScreen';
import SharedElements from './src/SharedElements';
import AppearingElements from './src/AppearingElements';
import ImageTransition from './src/ImageTransition';
import LayoutTransition from './src/LayoutTransition';
import Onboarding from './src/Onboarding';
import ShoeShop from './src/ShoeShop';
import FlatList from './src/FlatList';
import AnimatedProperty from './src/AnimatedProperty';
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 class App extends React.Component {
render() {
return (
<ExampleNavigator />
);
}
}