11import React from "react" ;
2- import { StyleSheet , Text , View } from "react-native" ;
2+ import { StyleSheet , Text , View , TouchableOpacity , SafeAreaView } from "react-native" ;
33
44export default function Wallet ( ) {
5+ const handleCreateWallet = ( ) => {
6+ console . log ( "Create wallet pressed" ) ;
7+ } ;
8+
9+ const handleInfoPress = ( ) => {
10+ console . log ( "Info icon pressed" ) ;
11+ } ;
12+
513 return (
6- < View >
7- < Text > Wallet</ Text >
8- </ View >
14+ < SafeAreaView style = { styles . safeArea } >
15+ { /* Header - commented out because header should not be implemented but ready to be added back or replaced.
16+ <View style={styles.header}>
17+ <Text style={styles.headerTitle}>Wallet</Text>
18+ </View>
19+ */ }
20+
21+ < View style = { styles . container } >
22+ < View style = { styles . createWalletSection } >
23+ < TouchableOpacity style = { styles . createWalletButton } onPress = { handleCreateWallet } >
24+ < Text style = { styles . plusIcon } > +</ Text >
25+ < Text style = { styles . createWalletText } > CREATE WALLET</ Text >
26+ </ TouchableOpacity >
27+ < TouchableOpacity style = { styles . infoIcon } onPress = { handleInfoPress } >
28+ < Text style = { styles . infoIconText } > i</ Text >
29+ </ TouchableOpacity >
30+ </ View >
31+ </ View >
32+ </ SafeAreaView >
933 ) ;
1034}
1135
@@ -14,12 +38,67 @@ const styles = StyleSheet.create({
1438 flex : 1 ,
1539 backgroundColor : "#f5f5f5" ,
1640 } ,
41+ // Header styles - commented out but ready to use
42+ // header: {
43+ // flexDirection: "row",
44+ // justifyContent: "space-between",
45+ // alignItems: "center",
46+ // paddingHorizontal: 16,
47+ // paddingVertical: 12,
48+ // backgroundColor: "#f5f5f5",
49+ // },
50+ // headerTitle: {
51+ // fontSize: 18,
52+ // fontWeight: "600",
53+ // color: "#333",
54+ // },
1755 container : {
1856 flex : 1 ,
57+ padding : 16 ,
58+ backgroundColor : "#f5f5f5" ,
59+ } ,
60+ createWalletSection : {
61+ flexDirection : "row" ,
62+ alignItems : "center" ,
63+ paddingVertical : 16 ,
1964 justifyContent : "space-between" ,
65+ } ,
66+ createWalletButton : {
67+ flexDirection : "row" ,
2068 alignItems : "center" ,
21- padding : 32 ,
22- backgroundColor : "#f5f5f5" ,
69+ backgroundColor : "transparent" ,
70+ paddingVertical : 12 ,
71+ paddingHorizontal : 16 ,
72+ borderRadius : 8 ,
73+ flex : 1 ,
74+ } ,
75+ plusIcon : {
76+ fontSize : 32 ,
77+ fontWeight : "bold" ,
78+ color : "#999" ,
79+ marginRight : 8 ,
80+ lineHeight : 32 ,
81+ } ,
82+ createWalletText : {
83+ fontSize : 18 ,
84+ fontWeight : "600" ,
85+ color : "#999" ,
86+ letterSpacing : 1 ,
87+ lineHeight : 32 ,
88+ } ,
89+ infoIcon : {
90+ width : 24 ,
91+ height : 24 ,
92+ borderRadius : 12 ,
93+ backgroundColor : "#999" ,
94+ alignItems : "center" ,
95+ justifyContent : "center" ,
96+ marginLeft : 8 ,
97+ } ,
98+ infoIconText : {
99+ color : "white" ,
100+ fontSize : 14 ,
101+ fontWeight : "bold" ,
23102 } ,
24103 content : {
25104 marginTop : 32 ,
0 commit comments