diff options
| author | xuhaoy <xuhao.yu@mail.utoronto.ca> | 2019-02-23 11:30:27 +0000 |
|---|---|---|
| committer | xuhaoy <xuhao.yu@mail.utoronto.ca> | 2019-02-23 11:30:27 +0000 |
| commit | f10ad96943ad57168d49f3437e9086b334a63cc1 (patch) | |
| tree | 03c78788a46329a967c07cbfff28e5a99c66a43d | |
| parent | 4b588e647dedbb49f54f9dd390b96f8466321ece (diff) | |
success page
| -rw-r--r-- | mobile/screens/Success.js | 37 |
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> + + + + ); + } +} + + + + |
