Skip to content

Instantly share code, notes, and snippets.

@abhitheawesomecoder
Created June 25, 2018 14:31
Show Gist options
  • Save abhitheawesomecoder/63f98e4d6b726c2c8cbd84d301d7e99d to your computer and use it in GitHub Desktop.
Save abhitheawesomecoder/63f98e4d6b726c2c8cbd84d301d7e99d to your computer and use it in GitHub Desktop.
import React from 'react';
import { View, Text } from 'react-native';
import { createStackNavigator } from 'react-navigation';
class HomeScreen extends React.Component {
render() {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Home Screen</Text>
</View>
);
}
}
export default createStackNavigator({
Home: {
screen: HomeScreen
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment