Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { Text, View, Platform } from 'react-native';
- import Landing from './src/Landing';
- export default function App() {
- return (
- <View style={styles.container}>
- <Landing />
- </View>
- );
- }
- const styles = {
- container: {
- flex: 1,
- alignItems: 'center',
- marginTop: Platform.OS === "android" ? 24 : 0,
- backgroundColor: 'red'
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment