import React from "react"; import { View, Text, StyleSheet, TouchableOpacity, Dimensions, } from "react-native"; import { MaterialIcons } from "@expo/vector-icons"; interface PaymentDueCardProps { label: string; amount: string; onPress: () => void; } const PaymentDueCard: React.FC = ({ label, amount, onPress, }) => { return ( {label} {amount} Pay Now ); }; const styles = StyleSheet.create({ container: { backgroundColor: "#FCFCFC", borderRadius: 10, padding: 16, flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: "100%", gap: 16, }, leftSection: { flexDirection: "row", alignItems: "center", flex: 1, }, iconWrapper: { width: 40, height: 40, borderRadius: 20, backgroundColor: "#FFEAEA", justifyContent: "center", alignItems: "center", }, textGroup: { marginLeft: 12, }, label: { fontSize: 12, color: "#565F70", fontFamily: "Inter-Medium", marginBottom: 4, }, amount: { fontSize: 14, color: "#252A34", fontFamily: "Inter-SemiBold", }, button: { backgroundColor: "#00825B", paddingVertical: 8, paddingHorizontal: 16, borderRadius: 4, }, buttonText: { color: "#FCFCFC", fontSize: 12, fontFamily: "Inter-Medium", }, }); export default PaymentDueCard;