SHARE
TWEET

Untitled

a guest Feb 14th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import { StyleSheet, Text, View } from 'react-native';
  3. import { createStackNavigator } from '@react-navigation/stack';
  4. import MainScreen from './Components/MainScreen'
  5.  
  6. export default class App extends React.Component {
  7.   render() {
  8.     return (
  9.       <AppStackNavigator />
  10.     );
  11.   }
  12. }
  13.  
  14. const AppStackNavigator = createStackNavigator({
  15.  
  16.   Main: {
  17.     screen: MainScreen
  18.   }
  19. })
  20.  
  21. const styles = StyleSheet.create({
  22.   container: {
  23.     flex: 1,
  24.     backgroundColor: '#fff',
  25.     alignItems: 'center',
  26.     justifyContent: 'center',
  27.   }
  28. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top