-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
28 lines (27 loc) · 1.04 KB
/
App.js
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
28
import { StatusBar } from 'expo-status-bar';
import { ThemeProvider } from 'styled-components/native';
import { mainTheme } from './src/styles/mainTheme';
import color from 'color';
import { BACKGROUND_COLOR } from './src/styles/colors';
import { BaseContainer } from './src/components/BaseContainer';
import { Routes } from './src/routes';
import { AuthProvider } from './src/hooks/Auth.hooks';
import { NativeBaseProvider } from "native-base";
export default function App() {
return (
<ThemeProvider theme={mainTheme}>
<AuthProvider>
<NativeBaseProvider>
<BaseContainer>
<StatusBar
style = "light"
backgroundColor = {color(BACKGROUND_COLOR).darken(0.6).hex()}
translucent = {false}
/>
<Routes />
</BaseContainer>
</NativeBaseProvider>
</AuthProvider>
</ThemeProvider>
);
}