-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.js
More file actions
29 lines (24 loc) · 661 Bytes
/
App.js
File metadata and controls
29 lines (24 loc) · 661 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
28
29
import React from 'react';
import Routes from './routes';
import {DefaultTheme, Provider as PaperProvider} from 'react-native-paper';
import {StatusBar} from 'react-native';
const App = () => {
const theme = {
...DefaultTheme, //pega todo default theme
colors: {
...DefaultTheme.colors,
// primary: '#E50914',
primary: '#ffffff',
background: '#3C3C3C',
placeholder: '#ffffff',
text: '#ffffff',
},
}; // Alterar default color
return (
<PaperProvider theme={theme}>
<StatusBar barStyle="light-content" backgroundColor="#000" />
<Routes />
</PaperProvider>
);
};
export default App;