refactored Redux Example (#819)

This commit is contained in:
Sami Jaber
2017-04-06 19:20:04 -04:00
committed by Eric Vicenti
parent 2b307c754a
commit 669da3eca5
8 changed files with 250 additions and 157 deletions

View File

@@ -0,0 +1,32 @@
import React from 'react';
import {
StyleSheet,
Text,
View,
} from 'react-native';
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
});
const ProfileScreen = () => (
<View style={styles.container}>
<Text style={styles.welcome}>
Profile Screen
</Text>
</View>
);
ProfileScreen.navigationOptions = {
title: 'Profile',
};