-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
75 lines (63 loc) · 1.78 KB
/
App.js
File metadata and controls
75 lines (63 loc) · 1.78 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
* CINCO - the FHIRBlocks wallet
*/
import React from 'react';
import { Text, View, Image } from 'react-native';
import { createStackNavigator, createAppContainer } from 'react-navigation';
import HomeScreen from './HomeScreen';
import InboxScreen from './InboxScreen';
import RequestDetails from './RequestDetails';
import ReviewConsentPDF from './ReviewConsentPDF';
import FilledPDF from './FilledPDF';
import GetConsents from './GetConsents';
class SettingsScreen extends React.Component {
render() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Settings!</Text>
</View>
);
}
}
class ConsentsScreen extends React.Component {
render() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Consents!</Text>
</View>
);
}
}
class CredsScreen extends React.Component {
render() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Credentials!</Text>
</View>
);
}
}
class ProvidersScreen extends React.Component {
render() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Providers!</Text>
</View>
);
}
}
const Navigator = createStackNavigator({
Home: { screen: HomeScreen },
Inbox: {screen: InboxScreen },
Consents: {screen: ConsentsScreen },
Creds: {screen: CredsScreen },
Providers: { screen: ProvidersScreen },
Settings: { screen: SettingsScreen },
RequestDetails: {screen: RequestDetails},
ReviewConsentPDF: {screen: ReviewConsentPDF},
FilledPDF: {screen: FilledPDF},
GetConsents: {screen: GetConsents}
}, {
initialRouteName: "Home"
});
export default createAppContainer(Navigator);