-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathApp.tsx
More file actions
27 lines (23 loc) · 726 Bytes
/
App.tsx
File metadata and controls
27 lines (23 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React from 'react';
import {SafeAreaView, StatusBar, useColorScheme, View} from 'react-native';
import {Colors} from 'react-native/Libraries/NewAppScreen';
import {ChatScreen, InstagramHomeScreen, ScoreboardScreen} from './src/screens';
import {AppColors} from './src/config/colors';
function App(): React.JSX.Element {
const isDarkMode = useColorScheme() === 'dark';
return (
<SafeAreaView
style={{
backgroundColor: AppColors.blue_18,
}}>
<View>
<StatusBar
barStyle={!isDarkMode ? 'light-content' : 'dark-content'}
backgroundColor={AppColors.blue_18}
/>
<ScoreboardScreen />
</View>
</SafeAreaView>
);
}
export default App;