import type { PaymentCode } from "@/utils/requests/Types";
import { images } from "@styles/Commons";
import { Image, TouchableOpacity } from "react-native";
import Box from "./bases/Box";
type PaymentOptions = "OM" | "MTN" | "FLOOZ" | "WAVE" | "CB";
type Props = {
onPress: () => void;
paymentMethod: PaymentCode;
};
const PaymentOptionContainer = ({ children }: { children: React.ReactNode }) => {
return (
{children}
);
};
const Orange = () => {
return (
);
};
const Mtn = () => {
return (
);
};
const Flooz = () => {
return (
);
};
const Wave = () => {
return (
);
};
const Cb = () => {
return (
);
};
const PaymentOption = ({ onPress, paymentMethod }: Props) => {
return (
{paymentMethod === "OM" && }
{paymentMethod === "MTN" && }
{paymentMethod === "FLOOZ" && }
{paymentMethod === "WAVE" && }
{paymentMethod === "CB" && }
);
};
export default PaymentOption;