Created
April 8, 2023 20:27
-
-
Save alperbayram/cfcf4edbdc0cd0b5cc9cdd5641b9713a to your computer and use it in GitHub Desktop.
App.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { SafeAreaView, StyleSheet } from "react-native"; | |
| import { NavigationContainer } from "@react-navigation/native"; | |
| import { BottomTabNavigator } from "./src/navigator/tabbar"; | |
| export default function App() { | |
| return ( | |
| <SafeAreaView style={styles.droidSafeArea}> | |
| <NavigationContainer> | |
| <BottomTabNavigator></BottomTabNavigator> | |
| </NavigationContainer> | |
| </SafeAreaView> | |
| ); | |
| } | |
| const styles = StyleSheet.create({ | |
| droidSafeArea: { | |
| flex: 1, | |
| backgroundColor: "white", | |
| paddingTop: Platform.OS === "android" ? 35 : 0, | |
| }, | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment