-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
34 lines (28 loc) · 720 Bytes
/
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
29
30
31
32
33
import React from 'react';
import { DefaultTheme, Provider as PaperProvider } from 'react-native-paper';
import {
SafeAreaView,
} from 'react-native';
import { Appbar } from 'react-native-paper';
import axios from 'axios';
import PokeList from 'components/PokeList';
const theme = {
...DefaultTheme,
roundness: 2,
colors: {
...DefaultTheme.colors,
primary: '#DE3737',
accent: '#e5c872',
},
};
const App = () => (
<PaperProvider theme={theme}>
<SafeAreaView >
<Appbar.Header>
<Appbar.Content title="Pokedex Franq" subtitle={'Teste para Dev Frontend'} />
</Appbar.Header>
<PokeList/>
</SafeAreaView>
</PaperProvider>
)
export default App;