-
Notifications
You must be signed in to change notification settings - Fork 1
/
Temp.js
53 lines (51 loc) · 1.21 KB
/
Temp.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
import React, {Component} from 'react';
import {View,Button,StyleSheet,Text} from 'react-native';
export default class Login extends Component<{}>{
/*static navigationOptions = {
title : 'SignUp'
};*/
render(){
//const {navigate} = this.props.navigation;
return(
<View /*style={loginStyles.container}*/>
/*<Text style={loginStyles.textStyle}>
Sign up as
</Text>
<View style={loginStyles.button}>
<Button title="Instructor"
color = "#ffffff"
onPress = { () => navigate("SignUpAsIns")}/>
</View>
<View style={loginStyles.button}>
<Button title="Student"
color = "#ffffff"
onPress = { () => navigate("SignUpAsStu")}/>
</View>*/
</View>
);
}
}
/*const loginStyles = StyleSheet.create({
container : {
flex : 1,
flexDirection : 'column',
justifyContent : 'center',
alignItems: 'center',
backgroundColor: "white",
},
button: {
backgroundColor: "#00a2f9",
borderRadius: 10,
paddingLeft :60,
paddingRight :60,
paddingTop :10,
paddingBottom :10,
marginTop: 30
},
textStyle : {
fontWeight : 'bold',
fontSize : 40,
color : '#46484c',
marginBottom : 30
}
});*/