Commit dfb3278d by G

the option should fit whatever external container it is used in

parent 80cfa6f3
...@@ -77,7 +77,7 @@ const VisaCard = () => { ...@@ -77,7 +77,7 @@ const VisaCard = () => {
const PaymentOption = ({ onPress, paymentMethod }: Props) => { const PaymentOption = ({ onPress, paymentMethod }: Props) => {
return ( return (
<TouchableOpacity style={{ width: "48%", height: "26%" }} onPress={onPress}> <TouchableOpacity style={{ width: "100%", height: "100%" }} onPress={onPress}>
{paymentMethod === "OrangeMoney" && <OrangeMoney />} {paymentMethod === "OrangeMoney" && <OrangeMoney />}
{paymentMethod === "MtnMoney" && <MtnMoney />} {paymentMethod === "MtnMoney" && <MtnMoney />}
{paymentMethod === "MoovMoney" && <MoovMoney />} {paymentMethod === "MoovMoney" && <MoovMoney />}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment