-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
20 lines (19 loc) · 760 Bytes
/
Copy pathApp.tsx
File metadata and controls
20 lines (19 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import "./global.css"
import {NavigationContainer} from "@react-navigation/native";
import {StackNavigator} from "./src/navigation/StackNavigator";
import {GestureHandlerRootView} from "react-native-gesture-handler";
import Toast from "react-native-toast-message";
import {SafeAreaView} from "react-native-safe-area-context";
import {toastConfig} from "./toast.config";
export default function App() {
return (
<GestureHandlerRootView style={{flex: 1}}>
<SafeAreaView className="flex-1 bg-gray-50">
<NavigationContainer>
<StackNavigator/>
<Toast config={toastConfig}/>
</NavigationContainer>
</SafeAreaView>
</GestureHandlerRootView>
);
}