Skip to content

Instantly share code, notes, and snippets.

@lrlineroa
Last active February 25, 2020 00:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrlineroa/b3f2fa56596c12182b5c58a57afa9430 to your computer and use it in GitHub Desktop.
Save lrlineroa/b3f2fa56596c12182b5c58a57afa9430 to your computer and use it in GitHub Desktop.
Inicialización React Native
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow
*/
import 'react-native-gesture-handler';
import { NavigationContainer } from '@react-navigation/native';
import React from 'react';
import {
SafeAreaView,
StatusBar,
} from 'react-native';
import Main from './src/components/Main';
const App: () => React$Node = () => {
return (
// <View style={[{flex:1}]}>
<NavigationContainer>
<StatusBar barStyle="light-content" />
<SafeAreaView style={{flex:1}}>
<Main />
</SafeAreaView>
</NavigationContainer>
// </View>
);
};
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment