From 9f3844ddcc3664e3b5e78764bb13d0e8c73bb794 Mon Sep 17 00:00:00 2001 From: G Date: Wed, 8 May 2024 15:33:00 +0000 Subject: [PATCH] remove the wrapper around the image. the styling of the container will be left to the component that need to render it --- src/components/PaymentOption.tsx | 31 +++++-------------------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/src/components/PaymentOption.tsx b/src/components/PaymentOption.tsx index 9013aa5..ed3b332 100644 --- a/src/components/PaymentOption.tsx +++ b/src/components/PaymentOption.tsx @@ -27,45 +27,24 @@ const PaymentOptionContainer = ({ children }: { children: React.ReactNode }) => const Orange = () => { return ( - - - + ); }; const Mtn = () => { - return ( - - - - ); + return ; }; const Flooz = () => { - return ( - - - - ); + return ; }; const Wave = () => { - return ( - - - - ); + return ; }; const Cb = () => { - return ( - - - - ); + return ; }; const PaymentOption = ({ onPress, paymentMethod }: Props) => { -- libgit2 0.27.1