Skip to content

Instantly share code, notes, and snippets.

@brookslyrette
Created August 20, 2017 19:25
Show Gist options
  • Select an option

  • Save brookslyrette/c2d035a7b9e749158beff051f4be44b6 to your computer and use it in GitHub Desktop.

Select an option

Save brookslyrette/c2d035a7b9e749158beff051f4be44b6 to your computer and use it in GitHub Desktop.
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
const Screen1 = () => (<View style={styles.container}><Text>Screen 1</Text></View>)
const Screen2 = () => (<View style={styles.container}><Text>Screen 2</Text></View>)
const Screen3 = () => (<View style={styles.container}><Text>Screen 3</Text></View>)
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment