import React from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import { PaymentOptionProps } from './paymentOption.props'; import { getStyles } from './paymentOption.styles'; import { useAppTheme } from '@theme'; export const PaymentOption: React.FC = ({ type, label, isSelected, onSelect, }) => { const { colors } = useAppTheme(); const styles = getStyles(colors); return ( {type === 'UPI' ? '📱' : type === 'Card' ? '💳' : type === 'Wallet' ? '👛' : '💵'} {label} {isSelected && } ); };