YorKnEz

App.js

Dec 23rd, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import React from 'react';
  2. import { Text, View, Platform } from 'react-native';
  3. import Landing from './src/Landing';
  4.  
  5. export default function App() {
  6. return (
  7. <View style={styles.container}>
  8. <Landing />
  9. </View>
  10. );
  11. }
  12.  
  13. const styles = {
  14. container: {
  15. flex: 1,
  16. alignItems: 'center',
  17. marginTop: Platform.OS === "android" ? 24 : 0,
  18. backgroundColor: 'red'
  19. },
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment