File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 1
1
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' ;
5
3
import { useSelector } from 'react-redux' ;
6
4
7
5
const ProfileScreen = ( ) => {
@@ -14,17 +12,18 @@ const ProfileScreen = () => {
14
12
} , [ user ] ) ;
15
13
16
14
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 >
24
25
< 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 >
28
27
</ View >
29
28
</ View >
30
29
) ;
You can’t perform that action at this time.
0 commit comments