register user input label
This commit is contained in:
parent
951f68377d
commit
e8a39da3e5
|
@ -55,9 +55,12 @@ const RegisterUserScreen = () => {
|
||||||
style:styles.input,
|
style:styles.input,
|
||||||
onChangeText:setUsername,
|
onChangeText:setUsername,
|
||||||
value:username,
|
value:username,
|
||||||
placeholder:"username",
|
|
||||||
placeholderTextColor : "#4b4a4a",
|
placeholderTextColor : "#4b4a4a",
|
||||||
|
|
||||||
|
}
|
||||||
|
var inputHeadingProps = {
|
||||||
|
style: styles.inputHeading
|
||||||
|
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|
||||||
|
@ -66,11 +69,13 @@ const RegisterUserScreen = () => {
|
||||||
<View
|
<View
|
||||||
style={styles.viewRoot}>
|
style={styles.viewRoot}>
|
||||||
<Text style={styles.heading}>Log In</Text>
|
<Text style={styles.heading}>Log In</Text>
|
||||||
<View style={{ flexDirection: "row", marginTop: "20%"}}>
|
<View style={{ flexDirection: "column", marginTop: "10%"}}>
|
||||||
<TextInput {...textInputProps} />
|
<Text {...inputHeadingProps}>Username </Text>
|
||||||
|
<TextInput {...textInputProps} placeholder="Name of the user"/>
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flexDirection: "row", marginTop: "10%"}}>
|
<View style={{ flexDirection: "column", marginTop: "10%"}}>
|
||||||
<TextInput {...textInputProps} />
|
<Text {...inputHeadingProps}>Password</Text>
|
||||||
|
<TextInput {...textInputProps} placeholder="Name of the organization" />
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View style={{ flexDirection: "row", marginTop: "10%", justifyContent: "center"}}>
|
<View style={{ flexDirection: "row", marginTop: "10%", justifyContent: "center"}}>
|
||||||
|
@ -134,6 +139,13 @@ const styles = StyleSheet.create({
|
||||||
color: "black",
|
color: "black",
|
||||||
backgroundColor: "#c4c4c4",
|
backgroundColor: "#c4c4c4",
|
||||||
},
|
},
|
||||||
|
inputHeading: {
|
||||||
|
fontSize: 25,
|
||||||
|
margin: 12,
|
||||||
|
justifyContent: 'center',
|
||||||
|
fontFamily: 'Ubuntu-Bold',
|
||||||
|
color: '#1C254E',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default RegisterUserScreen;
|
export default RegisterUserScreen;
|
||||||
|
|
Loading…
Reference in New Issue