Skip to content

Commit c97463d

Browse files
committed
Update ProfileScreen.tsx
1 parent a4021d2 commit c97463d

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/screens/profile/ProfileScreen.tsx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import React, {useEffect} from 'react';
2-
import {Image, View, Text} from 'react-native';
3-
4-
import {styles} from './ProfileScreen.styles.ts';
2+
import {Text, View} from 'react-native';
53
import {useSelector} from 'react-redux';
64

75
const ProfileScreen = () => {
@@ -14,17 +12,18 @@ const ProfileScreen = () => {
1412
}, [user]);
1513

1614
return (
17-
<View>
18-
<Text>Profile Screen</Text>
19-
<Image
20-
source={require('../../../assets/kayu.png')}
21-
style={styles.image}
22-
/>
23-
<Text>Bonjour {user?.email}</Text>
15+
<View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
16+
<Text
17+
style={{
18+
fontSize: 30,
19+
fontWeight: 'bold',
20+
textAlign: 'center',
21+
marginTop: 20,
22+
}}>
23+
Bonjour {user?.email}
24+
</Text>
2425
<View>
25-
<Text>Information : </Text>
26-
<Text>Email: {user?.email}</Text>
27-
{/*<Text> Password : {user?.password} </Text>*/}
26+
<Text style={{marginTop: 20}}>Email: {user?.email}</Text>
2827
</View>
2928
</View>
3029
);

0 commit comments

Comments
 (0)