You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
613 B
26 lines
613 B
import {SafeAreaView, StyleSheet} from 'react-native';
|
|
import React from "react";
|
|
import BottomTabNavigator from "@react-navigation/bottom-tabs/src/navigators/createBottomTabNavigator";
|
|
|
|
export default function App() {
|
|
return (
|
|
<>
|
|
<SafeAreaView style={styles.topSafeArea}/>
|
|
<SafeAreaView style={styles.mainSafeArea}>
|
|
<BottomTabNavigator/>
|
|
</SafeAreaView>
|
|
</>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
mainSafeArea: {
|
|
flex: 1,
|
|
backgroundColor: "#7a96e9"
|
|
},
|
|
topSafeArea: {
|
|
flex: 0,
|
|
backgroundColor: 'darksalmon'
|
|
}
|
|
});
|