import { images } from "@styles/Commons";
import { Image, TouchableOpacity } from "react-native";
import Box from "./bases/Box";
type PaymentOptions = "ORANGE" | "MTN" | "FLOOZ" | "WAVE" | "CB";
type Props = {
onPress: () => void;
paymentMethod: PaymentOptions;
};
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 === "ORANGE" && }
{paymentMethod === "MTN" && }
{paymentMethod === "FLOOZ" && }
{paymentMethod === "WAVE" && }
{paymentMethod === "CB" && }
);
};
export default PaymentOption;