-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnavigation.tsx
33 lines (30 loc) · 936 Bytes
/
navigation.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
28
29
30
31
32
33
import React from 'react';
import {NavigationContainerRef} from '@react-navigation/native';
export const isMountedRef = React.createRef<boolean>();
export const navigationRef = React.createRef<NavigationContainerRef>();
export enum ScreenNames {
dashboard = 'dashboard',
ageConfirmation = 'ageConfirmation',
ageSorting = 'ageSorting',
ageUnder = 'ageUnder',
locationConfirmation = 'locationConfirmation',
tracing = 'tracing',
about = 'about',
community = 'community',
settings = 'settings',
onboarding = 'onboarding',
closeContact = 'closeContact',
tests = 'tests',
testsAdd = 'testsAdd',
testsResult = 'testsResult',
terms = 'terms',
dataPolicy = 'dataPolicy',
leave = 'leave',
debug = 'debug',
askPermissions = 'permissions-info',
pause = 'pause',
yourDataModal = 'yourDataModal',
testResultModal = 'testResultModal',
calculatorModal = 'calculatorModal',
sendNotice = 'sendNotice'
}