import React from 'react' import { StyleSheet, TouchableOpacity, View,ActivityIndicator } from 'react-native' import { OrderTypeControl, useLanguage, } from 'ordering-components/native' import { useTheme } from 'styled-components/native' // import { OrderTypeSelectParams } from '../../types' import { ActivityIndicatorContainer } from './styles' import { useDeviceOrientation } from '../../../../../src/hooks/DeviceOrientation'; import { OText } from '../shared' import {Container} from '../../layouts/Container' import NavBar from '../NavBar' const OrderTypeSelectorCardUI = (props: any) => { const { onClose } = props const theme = useTheme(); const [, t] = useLanguage(); const [orientationState] = useDeviceOrientation(); const styles = StyleSheet.create({ button: { backgroundColor: '#e6f0ff', padding: 20, width: 280, borderRadius: 8 } }) return ( {t('FOLLOW_THE_PIN_PAD', 'Follow the PIN pad')} {'\n'} {t('INSTRUCTIONS', 'instructions')} {t('WILL_PAY_WITH_CASH', 'I\'m sorry. I will pay with cash')} ) } export const PaymentOptionStripe = (props: any) => { const [, t] = useLanguage() const orderTypeProps = { ...props, UIComponent: OrderTypeSelectorCardUI, } return }