Initialize Expo app structure
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { StatusBar } from 'expo-status-bar';
|
||||
import { SafeAreaView, StyleSheet } from 'react-native';
|
||||
|
||||
import HomeScreen from './src/screens/HomeScreen';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
<SafeAreaView style={styles.container}>
|
||||
<HomeScreen />
|
||||
<StatusBar style="dark" />
|
||||
</SafeAreaView>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: '#f7f3ea'
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user