-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
33 lines (30 loc) · 1.25 KB
/
App.js
File metadata and controls
33 lines (30 loc) · 1.25 KB
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
28
29
30
31
32
33
// App.js
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import TagoTalkUI from './components/tagotalk';
import GroupCallDashboard from './components/GroupCall';
// import SetUP from './components/setUp';
import Bluetooth from './components/bluetooth';
import ShowQRCode from './components/ShowQRCode';
import ScanQRCode from './components/ScanQRCode';
import GroupCall from './components/GroupCall';
import { Buffer } from 'buffer';
if (typeof global.Buffer === 'undefined') {
global.Buffer = Buffer;
}
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Home" screenOptions={{ headerShown: false }}>
<Stack.Screen name="Home" component={TagoTalkUI} />
<Stack.Screen name="ShowQRCode" component={ShowQRCode} />
<Stack.Screen name="ScanQRCode" component={ScanQRCode} />
<Stack.Screen name="GroupCalls" component={GroupCall} />
<Stack.Screen name="GroupCall" component={GroupCallDashboard} />
<Stack.Screen name="bluetooth" component={Bluetooth} />
</Stack.Navigator>
</NavigationContainer>
);
}