forked from Stampeder525/HouseMate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreate_Profile.js
51 lines (48 loc) · 1.16 KB
/
Create_Profile.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
import React from 'react';
import { StyleSheet, Text, TextInput, View } from 'react-native';
export class Create_Profile extends React.Component {
render() {
return (
<View style={styles.container}>
<Text style={styles.title}>Make a Profile</Text>
<TextInput
style={styles.text_field}
placeholder="Name"
onChangeText={(text) => this.setState({text})}
/>
<TextInput
style={styles.text_field}
placeholder="Email"
onChangeText={(text) => this.setState({text})}
/>
<TextInput
style={styles.text_field}
placeholder="Password"
onChangeText={(text) => this.setState({text})}
/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
},
title: {
fontSize: 30,
fontWeight: 'bold',
height: 50,
},
text_field: {
backgroundColor: '#eeeeee',
height: 40,
width: '100%',
textAlign: 'center',
paddingVertical: 50
},
});
export default Create_Profile