Created
July 31, 2019 18:49
-
-
Save Yassir4/4e2257b47ecabca92c76c8d28521ef3e to your computer and use it in GitHub Desktop.
PushScreen component
This file contains 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
import React from 'react'; | |
import {View, Text, TouchableOpacity} from 'react-native'; | |
import styles from './styles'; | |
const PushedScreen = props => { | |
return ( | |
<View style={styles.container}> | |
<Text style={styles.headerText}>Pushed Screen</Text> | |
<TouchableOpacity style={styles.backButton}> | |
<Text style={styles.backButtonText}>Go Back</Text> | |
</TouchableOpacity> | |
</View> | |
); | |
}; | |
export default PushedScreen; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment