created transaction list show and create a custom card

This commit is contained in:
Jaanu423
2025-09-25 16:23:50 +05:30
parent fb55686724
commit 0226611697
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import {
} from "react-native";
import LinearGradient from "react-native-linear-gradient";
import { Ionicons, IoniconsIconName } from "@react-native-vector-icons/ionicons";
import colors from "../colors";
type CardProps = {
title: string;
@@ -179,7 +180,7 @@ const styles = StyleSheet.create({
},
subtitle: {
fontSize: 14,
color: "rgba(255, 255, 255, 0.8)",
color: colors.primary,
fontWeight: "500",
textAlign: "center",
},
+2 -1
View File
@@ -124,7 +124,7 @@ const UserHome = () => {
return (
<>
{/* Stats */}
<View style={[styles.statsRow, { marginVertical: 24 }]}>
<View style={[styles.statsRow, { marginTop:12 }]}>
<View style={styles.statBox}>
<Text style={styles.statValue}>{totalGroups}</Text>
<Text style={styles.statLabel}>Groups Joined</Text>
@@ -136,6 +136,7 @@ const UserHome = () => {
</View>
{/* <Button title="Transaction List" onPress={()=>navigation.navigate('TransactionList')}/> */}
<AnimatedCard
onPress={() => navigation.navigate("TransactionList")} title={"transaction list"} iconName="calculator-outline" subtitle="View your transaction history" />
{/* Groups List */}