This repository has been archived by the owner on Mar 16, 2020. It is now read-only.
forked from coltonrusch/precursor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTriggerWarning.js
48 lines (39 loc) · 1.48 KB
/
TriggerWarning.js
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
import React from 'react';
import { View, Text, Button, TextInput, StyleSheet, ScrollView, TouchableHighlight } from 'react-native';
import { StackActions, NavigationActions } from 'react-navigation';
import * as constants from "./CONSTANTS"
export default class TriggerWarning extends React.Component {
render() {
return (
<ScrollView style={styles.scrollView, {backgroundColor: constants.mainRed}}>
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text style ={{marginBottom: 10, fontSize: 40, color: "white"}}>
Disclaimer
</Text>
<Text style ={{marginBottom: 40, color: "white"}}>
In order for PreCursor to be able to be helpful, we are going to have to ask you some sensitive questions questions about your triggers. Please note that this app won't protect you from all triggerable content, but it will do the best that it can.
</Text>
<TouchableHighlight
style={styles.button}
onPress={() => {
this.props.navigation.navigate("Keywords")
}}>
<Text style = {{color: constants.mainRed}}> I understand </Text>
</TouchableHighlight>
</View>
</ScrollView>
);
}
}
const styles = StyleSheet.create({
scrollView: {
},
text: {
fontSize: 42,
},
button: {
alignItems: 'center',
backgroundColor: 'white',
padding: 10
}
});