Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export default Profile = () => {
- return (
- <View style={styles.container}>
- <View style={styles.headerContainer}>
- <Avatar
- xlarge
- rounded
- source={{uri: "http://ksassets.timeincuk.net/wp/uploads/sites/46/2014/05/Elizabeth-Olsen-6.jpg"}}
- onPress={() => console.log("Works!")}
- activeOpacity={0.7}
- containerStyle={styles.avatarStyle}
- />
- <Text style={styles.name}>Elizabeth Olsen</Text>
- </View>
- <View style={styles.content}>
- <ScrollView>
- <View>
- <Card>
- <FormLabel labelStyle={styles.label}>Email</FormLabel>
- <FormInput editable={false} defaultValue={"adityarrrrrrr@gmail.com"} inputStyle={[styles.text, {left: 0}]} />
- <FormLabel labelStyle={styles.label}>Telepon</FormLabel>
- <FormInput editable={false} defaultValue={"0812-1111-1122"} inputStyle={[styles.text, {left: 0}]} />
- <FormLabel labelStyle={styles.label}>Password</FormLabel>
- <FormInput editable={false} defaultValue={"********"} inputStyle={[styles.text, {left: 0}]} />
- <FormLabel labelStyle={styles.label}>Gender</FormLabel>
- <Text style={styles.text}>Laki-Laki</Text>
- </Card>
- <Card>
- <FormLabel>HOME</FormLabel>
- <Text style={styles.text}>
- Jalan Ki Hajar Dewantara RT. 2 / RW. 4, Mekarmukti, Cikarang Utara, Bekasi, Jawa Barat 17550
- </Text>
- </Card>
- </View>
- </ScrollView>
- </View>
- </View>
- );
- };
- Deskripsi :
- kode ini untuk menampilkan informasi user
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement