import { PencilSimple, CheckCircle, XCircle, WarningCircle, } from 'phosphor-react-native'; import React from 'react'; import { Box } from '../Box'; import { TouchableComponent } from '../TouchableComponent'; import { colors } from '../../theme/theme'; import { Text } from '../Text'; export interface IProductCardCheckout { referenceName: string; icon: 'approved' | 'rejected' | 'warning'; packaging: string; dueDate: string; quantity: number; onPress?: () => void; disabled?: boolean; } export const ProductCardCheckout = ({ referenceName, icon, packaging, dueDate, quantity, onPress, disabled, }: IProductCardCheckout) => ( {icon === 'approved' ? ( ) : icon === 'rejected' ? ( ) : ( )} {referenceName} {packaging} {dueDate && ( VU: {dueDate} )} {quantity} );