diff --git a/src/screens/CheckoutScreen.tsx b/src/screens/CheckoutScreen.tsx index 3555edd..c3a82d2 100644 --- a/src/screens/CheckoutScreen.tsx +++ b/src/screens/CheckoutScreen.tsx @@ -122,6 +122,30 @@ const CheckoutScreen = (props) => { } return response; }; + const renderFooter = () =>{ + return ( + + + {/* */} + + Deliver to Sentry - San Francisco {contactInfoData['zipCode']} + + + + performCheckoutOnServer()} + progressState={orderStatusUI} + name={'Place your order'}> + + + ) + } return ( @@ -132,10 +156,12 @@ const CheckoutScreen = (props) => { fontSize: 18, fontWeight: '600', }}>Contact Info - + { return ( @@ -152,24 +178,7 @@ const CheckoutScreen = (props) => { }} keyExtractor={(item) => item.id} /> - - {/* */} - - Deliver to Sentry - San Francisco {contactInfoData['zipCode']} - - - - performCheckoutOnServer()} - progressState={orderStatusUI} - name={'Place your order'}> - + ); @@ -214,20 +223,6 @@ const styles = StyleSheet.create({ width:300, margin:10, }, - orderBtnContainer: { - height: 50, - - paddingLeft: 20, - paddingRight: 20, - // borderRadius: 2, - borderWidth: 1, - borderColor: 'white', - flexDirection: 'column', - justifyContent: 'center', - - width:300, - margin:10, - }, buttonText: { textAlign: 'center', fontSize: 16,