Skip to content

Instantly share code, notes, and snippets.

@Yassir4
Created July 31, 2019 18:49
Show Gist options
  • Save Yassir4/4e2257b47ecabca92c76c8d28521ef3e to your computer and use it in GitHub Desktop.
Save Yassir4/4e2257b47ecabca92c76c8d28521ef3e to your computer and use it in GitHub Desktop.
PushScreen component
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