import { FC } from 'react'

import { NavigationContainer } from '@react-navigation/native';
import { MainStackNavitagor } from './src/navigator/MainStackNavigator';
import { AuthProvider } from './src/screens/login/AuthContext';
import * as eva from '@eva-design/eva';
import { ApplicationProvider, IconRegistry, Layout, Text } from '@ui-kitten/components';
import { EvaIconsPack } from '@ui-kitten/eva-icons';

interface Props {
}


const App:FC <Props> = () => {

 return (
   <>
   <IconRegistry icons={EvaIconsPack} />
   <ApplicationProvider {...eva} theme={eva.light}>
    <NavigationContainer >
        <AuthProvider>
          <MainStackNavitagor/>
        </AuthProvider>
        
      </NavigationContainer>
   </ApplicationProvider>
     
    
   </>
 )
}

export default App;