-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
27 lines (25 loc) · 1.05 KB
/
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
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { TailwindProvider } from 'tailwindcss-react-native';
import DetailScreen from './src/screens/DetailScreen';
import HomeScreen from './src/screens/HomeScreen';
//@ts-ignore
import OTPVerifyScreen from './src/screens/OTPVerifyScreen';
import SearchScreen from './src/screens/SearchScreen';
import UploadScreen from './src/screens/UploadScreen';
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer>
<TailwindProvider>
<Stack.Navigator>
<Stack.Screen name='Home' component={HomeScreen}/>
<Stack.Screen name='Detail' component={DetailScreen}/>
<Stack.Screen name='Search' component={SearchScreen}/>
<Stack.Screen name='OTPVerify' component={OTPVerifyScreen}/>
<Stack.Screen name='Upload' component={UploadScreen}/>
</Stack.Navigator>
</TailwindProvider>
</NavigationContainer>
);
}