aboutsummaryrefslogtreecommitdiff
path: root/mobile/screens/Success.js
diff options
context:
space:
mode:
authorxuhaoy <xuhao.yu@mail.utoronto.ca>2019-02-23 11:30:27 +0000
committerxuhaoy <xuhao.yu@mail.utoronto.ca>2019-02-23 11:30:27 +0000
commitf10ad96943ad57168d49f3437e9086b334a63cc1 (patch)
tree03c78788a46329a967c07cbfff28e5a99c66a43d /mobile/screens/Success.js
parent4b588e647dedbb49f54f9dd390b96f8466321ece (diff)
success page
Diffstat (limited to 'mobile/screens/Success.js')
-rw-r--r--mobile/screens/Success.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/mobile/screens/Success.js b/mobile/screens/Success.js
new file mode 100644
index 0000000..3d66de5
--- /dev/null
+++ b/mobile/screens/Success.js
@@ -0,0 +1,37 @@
+import React, { Component } from 'react';
+import {Text, Alert, AppRegistry, Button, StyleSheet, View } from 'react-native';
+
+export default class Success extends Component {
+ _onPressButton() {
+ exitApp()
+ }
+
+
+ render() {
+ return (
+
+
+ <View style={{padding: 40}}>
+ <Text>Thanks for letting us know.</Text>
+ <Text>We will try our best to find help for this individual ASAP.</Text>
+
+
+ {/*additional questions*/}
+ <View style={{padding: 100}}>
+ <Button
+ onPress={this._onPressButton}
+ title="Exit"
+ />
+ </View>
+
+ </View>
+
+
+
+ );
+ }
+}
+
+
+
+