import NavbarBack from 'components/NavbarBack'; import * as React from 'react'; import { useTranslation } from 'react-i18next'; import { Dimensions, Image, ScrollView, StyleSheet, Text, View, } from 'react-native'; import { SafeAreaView } from 'react-native-safe-area-context'; import Svg, { Circle, Path } from 'react-native-svg'; import { PaymentStyle } from 'screens/wallet/payment/ui/style'; import Plane from 'svg/Plane'; import { fakeProducts } from '../lib/data'; interface PaymentQrCodeProps {} const PaymentQrCode = (props: PaymentQrCodeProps) => { const { t } = useTranslation(); const screenWidth = Dimensions.get('window').width; const isSmallScreen = screenWidth < 380; const svgWidth = screenWidth * 0.8; const svgWidthProduct = screenWidth * 1; return ( USD 12.267 UZS Cargo 12.267 UZS/ kg {t('Yetkazish vaqti')} 08.25.2025 Avia-CP 223 {fakeProducts.map((item, index) => ( {item.name} {t('Trek ID')}: {item.trackId} {t('Og’irligi')}: {item.weight} 1kg * {item.unitPrice} {t('Umumiy narxi')}: {item.total} {t('so‘m')} ))} {t('Umumiy narxi')} 100.000.000 {/* Top-left */} {/* Top-right */} {/* Bottom-left */} {/* Bottom-right */} ); }; export default PaymentQrCode; const styles = StyleSheet.create({ cornerStyle: { position: 'absolute' as const, width: 40, height: 40, borderTopWidth: 6, borderLeftWidth: 6, borderColor: '#007AFF', }, });