-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
33 lines (31 loc) · 802 Bytes
/
App.tsx
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
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* Generated with the TypeScript template
* https://github.com/react-native-community/react-native-template-typescript
*
* @format
*/
import {NavigationContainer} from '@react-navigation/native';
import {NativeBaseProvider} from 'native-base';
import React from 'react';
import CustomTheme from 'styles';
import Router from './src/Router';
export default function App() {
return (
<>
<NativeBaseProvider
theme={CustomTheme}
config={{
dependencies: {
'linear-gradient': require('react-native-linear-gradient').default,
},
}}>
<NavigationContainer>
<Router />
</NavigationContainer>
</NativeBaseProvider>
</>
);
}