-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathrootTypes.ts
More file actions
26 lines (23 loc) · 890 Bytes
/
rootTypes.ts
File metadata and controls
26 lines (23 loc) · 890 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
import { LinkWalletRequest, SignHotspotRequest } from '@helium/wallet-link'
import { StackNavigationProp } from '@react-navigation/stack'
import { PaymentRouteParam } from '../features/home/homeTypes'
export type RootStackParamList = {
OnboardingNavigator: undefined
TabBarNavigator: undefined
LinkWallet: LinkWalletRequest
SignHotspot: SignHotspotRequest & { submit?: boolean }
PaymentScreen: undefined | PaymentRouteParam
RequestScreen: undefined
DappLoginScreen: { uri: string; callback: string }
ImportPrivateKey: { key?: string }
}
export type TabBarStackParamList = {
Home: undefined
Collectables: undefined
Swaps: undefined
Activity: undefined
Governance: undefined
NotificationsNavigator: undefined
}
export type RootNavigationProp = StackNavigationProp<RootStackParamList>
export type TabBarNavigationProp = StackNavigationProp<TabBarStackParamList>