-
Notifications
You must be signed in to change notification settings - Fork 1
/
SignUpNotifs.js
64 lines (61 loc) · 1.59 KB
/
SignUpNotifs.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import React from 'react';
import CheckBox from 'react-native-modest-checkbox'
import { StyleSheet, Text, TextInput, View } from 'react-native';
import { StackNavigator } from 'react-navigation';
import { Button } from 'react-native';
export default class SignUpNotifs extends React.Component {
static navigationOptions = {
title: 'SignUpNotifs',
};
render() {
return (
<View style={styles.container}>
<Text style={styles.title}>What notifications do you want? Select all that apply. </Text>
<CheckBox
label='Push Notifications'
onChange={(checked) => console.log('Checked!')}
/>
<CheckBox
label='Text'
onChange={(checked) => console.log('Checked!')}
/>
<CheckBox
label='Email'
onChange={(checked) => console.log('Checked!')}
/>
<Button
title="Next"
onPress={() =>
this.props.navigation.navigate('Add')
}
/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
display: 'flex',
flex: 1,
backgroundColor: '#fff',
flexDirection: 'column',
alignItems: 'flex-start',
justifyContent: 'flex-start',
padding: 20,
},
title: {
fontSize: 30,
fontFamily: 'Avenir',
},
text_field: {
backgroundColor: '#eeeeee',
height: 40,
width: '100%',
textAlign: 'center',
marginVertical: 6,
paddingVertical: 7,
fontSize: 18,
flex: 0,
fontFamily: 'Avenir',
},
});