-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathKeystoneNavigator.tsx
More file actions
30 lines (27 loc) · 951 Bytes
/
KeystoneNavigator.tsx
File metadata and controls
30 lines (27 loc) · 951 Bytes
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
import React from 'react'
import { createStackNavigator } from '@react-navigation/stack'
import ScanQrCode from './ScanQrCodeScreen'
import SelectKeystoneAccountsScreen from './SelectKeystoneAccountsScreen'
import KeystoneAccountAssignScreen from './KeystoneAccountAssignScreen'
import { KeystoneStackParamList } from './keystoneNavigatorTypes'
const KeystoneStack = createStackNavigator<KeystoneStackParamList>()
const KeystoneNavigator = () => {
return (
<KeystoneStack.Navigator
screenOptions={{
headerShown: false,
}}
>
<KeystoneStack.Screen name="ScanQrCode" component={ScanQrCode} />
<KeystoneStack.Screen
name="SelectKeystoneAccounts"
component={SelectKeystoneAccountsScreen}
/>
<KeystoneStack.Screen
name="KeystoneAccountAssignScreen"
component={KeystoneAccountAssignScreen}
/>
</KeystoneStack.Navigator>
)
}
export default KeystoneNavigator