Created
August 18, 2017 08:20
-
-
Save hassanabidpk/0af6e470173aed1733898a43e53d788c to your computer and use it in GitHub Desktop.
Pycon Lunch React Native
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
// @flow | |
import React from 'react'; | |
import { StyleSheet, Text, FlatList, ActivityIndicator, View, Image } from 'react-native'; | |
import { List, ListItem, SearchBar, Avatar } from "react-native-elements"; | |
import { StackNavigator } from 'react-navigation'; | |
import { constants } from 'expo'; | |
import HomeScreen from './src/components/home'; | |
import DetailScreen from './src/components/detail'; | |
export default StackNavigator({ | |
Home: { screen: HomeScreen, | |
navigationOptions: { | |
title: 'Home', | |
headerBackTitle: 'Back', | |
}, | |
}, | |
Detail: { screen: DetailScreen, | |
navigationOptions: { | |
title: 'Detail', | |
}, | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment