subtracks/App.tsx
austinried 4152ff6cfb Revert "switched to navigation-react-native"
This reverts commit a8d0211ab7739b71fc5e32206ff3e85dbf7f051c.
2021-06-25 09:23:19 +09:00

21 lines
519 B
TypeScript

import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { RecoilRoot } from 'recoil';
import SplashPage from './src/components/SplashPage';
import RootNavigator from './src/components/navigation/RootNavigator';
import { enableScreens } from 'react-native-screens';
enableScreens();
const App = () => (
<RecoilRoot>
<SplashPage>
<NavigationContainer>
<RootNavigator />
</NavigationContainer>
</SplashPage>
</RecoilRoot>
);
export default App;