-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
23 lines (20 loc) · 843 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
import { ApplicationProvider, IconRegistry, } from '@ui-kitten/components';
import { StyleSheet, Text, View, Platform, StatusBar } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import React, { useEffect, useState, useRef } from 'react';
import { EvaIconsPack } from '@ui-kitten/eva-icons';
import Navigations from './src/Routes/Navigation';
import * as eva from '@eva-design/eva';
export default function App ({ navigation }) {
const TRANSITIONS = 'fade';
const STYLES = 'dark-content';
return (
<ApplicationProvider {...eva} theme={eva.dark}>
<IconRegistry icons={EvaIconsPack} />
<NavigationContainer>
<StatusBar barStyle={STYLES} animated={true} showHideTransition={TRANSITIONS} />
<Navigations />
</NavigationContainer>
</ApplicationProvider>
)
}