import React from 'react'; import { Image as RNImage } from 'react-native'; import { Box } from '../Box'; import { Text } from '../Text'; import { TouchableComponent } from '../TouchableComponent'; import { ArrowUpLeft, ImageSquare } from 'phosphor-react-native'; import { SearchedText } from './SearchedText'; import { Normalize } from '../../utils/normalize'; import { colors } from '../../theme/theme'; export interface IAutoCompleteProductCard { referenceName: string; packaging: string; image?: string; search?: string; onPress?: () => void; onRightPress?: () => void; disabled?: boolean; } export const AutoCompleteProductCard = ({ referenceName, packaging, image, search, onPress, onRightPress, disabled = false, }: IAutoCompleteProductCard) => ( {!image ? ( ) : ( )} {packaging} );